프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
CoerceValue ( object value ) : object |
Attempts to coerce the specific value into the appropriate object representation for the current property type.
|
|
FormatValue ( object value ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
FormatValue ( object value, string format ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
FormatValue ( object value, string format, IFormatProvider provider ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
GetDefaultValue ( ) : object |
Gets the current default value for this property, or null if no default value has been specified.
|
메소드 | 설명 | |
---|---|---|
GetFormattedValue ( ModelInstance instance, string format ) : string |
Gets the formatted value of the property for the specified instance.
|
|
GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string |
Gets the formatted value of the property for the specified instance.
|
|
ModelValueProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, |
public FormatValue ( object value ) : string | ||
value | object | The correct value type to format |
리턴 | string |
public FormatValue ( object value, string format ) : string | ||
value | object | The correct value type to format |
format | string | The format specifier, or null to use the default property format |
리턴 | string |
public FormatValue ( object value, string format, IFormatProvider provider ) : string | ||
value | object | The correct value type to format |
format | string | The format specifier, or null to use the default property format |
provider | IFormatProvider | The format provider, or null to use the property's default format provider |
리턴 | string |
protected GetFormattedValue ( ModelInstance instance, string format ) : string | ||
instance | ModelInstance | |
format | string | |
리턴 | string |
protected GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string | ||
instance | ModelInstance | |
format | string | |
provider | IFormatProvider | |
리턴 | string |
protected ModelValueProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, |
||
declaringType | ModelType | |
name | string | |
label | string | |
helptext | string | |
format | string | |
isStatic | bool | |
propertyType | ||
converter | ||
isList | bool | |
isReadOnly | bool | |
isPersisted | bool | |
attributes | ||
defaultValue | ||
리턴 | System |