Interface IRecreateOnRefresh
Indicates that an object should be refreshed on context change.
Namespace: LemonEdge.API.Client
Assembly: LemonEdge.API.dll
Syntax
public interface IRecreateOnRefresh
Methods
Recreate(IEntityUpdater)
Called on context refresh with the new context. Implement to action custom refresh logic in the inheritor. You should clone or return a new object.
Declaration
Task<object> Recreate(IEntityUpdater updater)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | updater |
Returns
Type | Description |
---|---|
Task<object> | A task containing a new |