示例#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);
示例#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);
示例#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);
示例#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);