1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| namespace Yw.WinFrmUI
| {
| /// <summary>
| /// 用于标识水力实际属性特性
| /// </summary>
| [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
| public class HydroRealProAttribute : Attribute
| {
| /// <summary>
| ///
| /// </summary>
| public HydroRealProAttribute(string realPropName)
| {
| this.RealPropName = realPropName;
| }
|
| /// <summary>
| /// 实际属性名称
| /// </summary>
| public string RealPropName { get; private set; }
|
|
| }
|
| }
|
|