Table of Contents

Interface ISaveStateMixin<T>

Namespace
Microsoft.AutoGen.Contracts
Assembly
Microsoft.AutoGen.Contracts.dll

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

ValueTask

SaveStateImpl()

ValueTask<T> SaveStateImpl()

Returns

ValueTask<T>