Beispiel #1
0
 /// <summary>
 /// Intercept the provider action when a scope is saved
 /// </summary>
 public static void OnScopeSaved(this BaseOrchestrator orchestrator, Func <ScopeSavedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Beispiel #2
0
 /// <summary>
 /// Intercept the provider action when a scope table is dropped
 /// </summary>
 public static void OnScopeTableDropped(this BaseOrchestrator orchestrator, Action <ScopeTableDroppedArgs> action)
 => orchestrator.SetInterceptor(action);
Beispiel #3
0
 /// <summary>
 /// Intercept the provider action when a scope is saving
 /// </summary>
 public static void OnScopeSaving(this BaseOrchestrator orchestrator, Action <ScopeSavingArgs> action)
 => orchestrator.SetInterceptor(action);
Beispiel #4
0
 /// <summary>
 /// Intercept the provider action when a scope table is dropping
 /// </summary>
 public static void OnScopeTableDropping(this BaseOrchestrator orchestrator, Func <ScopeTableDroppingArgs, Task> action)
 => orchestrator.SetInterceptor(action);