Delegate SetBackingFieldDelegate<TValue>
A delegate that defines a method to set the backing field of a property.
Namespace: BionicCode.Utilities.Net
Assembly: BionicCode.Utilities.Net.Common.dll
Syntax
public delegate void SetBackingFieldDelegate<TValue>(TValue newValue);
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | newValue | The value to be assigned to the backingfield of the property. |
Type Parameters
| Name | Description |
|---|---|
| TValue | The type of the property. |
Remarks
This delegate is required to set the backingfield of a property by an async method. Async methods can't define ref parameters.