SetPropertyHelper.Set<T>(ref T, T) Method
Updates the field value if the new value is different.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
public static bool Set<T>(
ref T storage,
T value
)
Parameters
| Name | Type | Description |
|---|---|---|
| storage | T | A reference to the target field. |
| value | T | The new field value. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the target field. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
See Also