Interface ISnapshotSourceProvider<T>
Interface to be implemented to provide snapshot operations.
Namespace: OpenFin.Net.Adapter.Extensions.Snapshots
Assembly: OpenFin.Net.Adapter.Extensions.Snapshots.dll
Syntax
public interface ISnapshotSourceProvider<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the snapshot object. |
Methods
ApplySnapshot(T)
The method to be invoked when applying the snapshot.
Declaration
void ApplySnapshot(T snapshot)
Parameters
| Type | Name | Description |
|---|---|---|
| T | snapshot | The snapshot object to be applied. |
GetSnapshot()
The method to be invoked when requesting the current snapshot.
Declaration
T GetSnapshot()
Returns
| Type | Description |
|---|---|
| T | The current snapshot. |