Method RaiseAndSetIfChanged
RaiseAndSetIfChanged<TRet>(ref TRet, TRet, string)
Declaration
protected TRet RaiseAndSetIfChanged<TRet>(ref TRet backingField, TRet newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TRet | backingField | |
| TRet | newValue | |
| string | propertyName |
Returns
| Type | Description |
|---|---|
| TRet |
Type Parameters
| Name | Description |
|---|---|
| TRet |