32 lines
627 B
C#
32 lines
627 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace JinYuan.ControlLib.UCHelper
|
||
|
|
{
|
||
|
|
//
|
||
|
|
// 摘要:
|
||
|
|
// 属性排序(升序)
|
||
|
|
[AttributeUsage(AttributeTargets.Property)]
|
||
|
|
public class PropertyOrderAttribute : Attribute
|
||
|
|
{
|
||
|
|
private float order;
|
||
|
|
|
||
|
|
//
|
||
|
|
// 摘要:
|
||
|
|
// 序号
|
||
|
|
public float Order => order;
|
||
|
|
|
||
|
|
//
|
||
|
|
// 参数:
|
||
|
|
// order:
|
||
|
|
// 序号
|
||
|
|
public PropertyOrderAttribute(float order)
|
||
|
|
{
|
||
|
|
this.order = order;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|