Interface ISystemConfigurationSnapshotStore
Interface for storing and retrieving system configuration snapshots.
Namespace: Serenity.SystemConfiguration.Application.Interfaces
Assembly: Serenity.SystemConfiguration.Application.dll
Syntax
public interface ISystemConfigurationSnapshotStore
Properties
CurrentSnapshot
Gets the currently stored system configuration snapshot.
Declaration
ISystemConfigurationSnapshot CurrentSnapshot { get; }
Property Value
| Type | Description |
|---|---|
| ISystemConfigurationSnapshot | The current system configuration snapshot. |
Methods
SetAsync(ISystemConfigurationSnapshot, CancellationToken)
Asynchronously sets the current system configuration snapshot.
Declaration
Task SetAsync(ISystemConfigurationSnapshot snapshot, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| ISystemConfigurationSnapshot | snapshot | The system configuration snapshot to store. |
| CancellationToken | cancellationToken | A cancellation token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |