Interface ISaveStateMixin<T>
Defines a contract for saving and loading the state of an object. The state must be JSON serializable.
public interface ISaveStateMixin<T> : ISaveState
Type Parameters
T
The type of the object implementing this interface.
- Inherited Members
Methods
LoadStateImpl(T)
ValueTask LoadStateImpl(T state)
Parameters
state
T
Returns
SaveStateImpl()
ValueTask<T> SaveStateImpl()
Returns
- ValueTask<T>