Method | Description | |
---|---|---|
GetValue ( this field, object instance ) : object |
Gets the actual value of the field.
|
|
Is ( this field, FieldOptions options ) : bool |
Returns a value indicating whether or not the field adheres to the list of specified options.
|
|
IsNot ( this field, FieldOptions options ) : bool |
Returns a value indicating whether the field does not adheres to the list of specified options.
|
|
SetValue ( this field, object instance, object value ) : void |
Sets the value for the field.
|
public static GetValue ( this field, object instance ) : object | ||
field | this | The field to test the options against. |
instance | object | The instance to return the value from. |
return | object |
public static Is ( this field, FieldOptions options ) : bool | ||
field | this | The field to test the options against. |
options | FieldOptions | The list of options to test on the field. |
return | bool |
public static IsNot ( this field, FieldOptions options ) : bool | ||
field | this | The field to test the options against. |
options | FieldOptions | The list of options to test on the field. |
return | bool |
public static SetValue ( this field, object instance, object value ) : void | ||
field | this | The field to test the options against. |
instance | object | The instance to set the value on. |
value | object | The value to set for the field. |
return | void |