コード例 #1
0
 /// <summary>
 /// Intercept the orchestrator when applying a snapshot
 /// </summary>
 public static Guid OnSnapshotApplying(this BaseOrchestrator orchestrator, Action <SnapshotApplyingArgs> action)
 => orchestrator.AddInterceptor(action);
コード例 #2
0
 /// <summary>
 /// Intercept the orchestrator when a snapshot has been applied
 /// </summary>
 public static Guid OnSnapshotApplied(this BaseOrchestrator orchestrator, Func <SnapshotAppliedArgs, Task> action)
 => orchestrator.AddInterceptor(action);
コード例 #3
0
 /// <summary>
 /// Intercept the orchestrator when a snapshot has been created
 /// </summary>
 public static Guid OnSnapshotCreated(this BaseOrchestrator orchestrator, Action <SnapshotCreatedArgs> action)
 => orchestrator.AddInterceptor(action);