메소드 | 설명 | |
---|---|---|
GetMember ( this obj ) : |
Get the FieldInfo definition for an enum value object.
|
|
GetTextForMember ( this memberInfo, EnumOptionTextSource textSource ) : string |
Get the display text of an enum item from the specified text source.
|
|
GetValueForMember ( this memberInfo, EnumOptionValueSource valueSource ) : string |
Get the value text of an enum item from the specified value source.
|
public static GetMember ( this obj ) : |
||
obj | this | The enum value object. |
리턴 |
public static GetTextForMember ( this memberInfo, EnumOptionTextSource textSource ) : string | ||
memberInfo | this | The |
textSource | EnumOptionTextSource | The text source for the enum item. |
리턴 | string |
public static GetValueForMember ( this memberInfo, EnumOptionValueSource valueSource ) : string | ||
memberInfo | this | The |
valueSource | EnumOptionValueSource | The value source for the enum item. |
리턴 | string |