[]
Sets the specified property value.
protected void SetProperty<T>(ref T field, T value, string propertyName = null)
Type | Name | Description |
---|---|---|
T | field | Corresponding field. |
T | value | New value to set. |
string | propertyName | Property name. |
Name | Description |
---|---|
T | Property type. |