/// <summary> /// Intercept the provider action when changes are selected on each table defined in the configuration schema /// </summary> public static Guid OnTableChangesSelected(this BaseOrchestrator orchestrator, Func <TableChangesSelectedArgs, Task> action) => orchestrator.AddInterceptor(action);
/// <summary> /// Intercept the provider action when a database is out dated /// </summary> public static void OnOutdated(this BaseOrchestrator orchestrator, Func <OutdatedArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider action when changes are going to be selected on each table defined in the configuration schema /// </summary> public static Guid OnTableChangesSelecting(this BaseOrchestrator orchestrator, Action <TableChangesSelectingArgs> action) => orchestrator.AddInterceptor(action);
/// <summary> /// Occurs just before saving a serialized set to disk /// </summary> public static void OnSerializingSet(this BaseOrchestrator orchestrator, Action <SerializingSetArgs> action) => orchestrator.SetInterceptor(action);
public static void OnDeserializingSet(this BaseOrchestrator orchestrator, Func <DeserializingSetArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Occurs just before serializing a SyncRow in a json stream /// </summary> public static Guid OnSerializingSyncRow(this BaseOrchestrator orchestrator, Func <SerializingRowArgs, Task> action) => orchestrator.AddInterceptor(action);
/// <summary> /// Occurs just after loading a serialized SyncRow from a json stream /// </summary> public static Guid OnDeserializingSyncRow(this BaseOrchestrator orchestrator, Action <DeserializingRowArgs> action) => orchestrator.AddInterceptor(action);
/// <summary> /// Intercept the provider before it begins a database provisioning /// </summary> public static void OnProvisioning(this BaseOrchestrator orchestrator, Func <ProvisioningArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider before it begins a database provisioning /// </summary> public static Guid OnGettingOperation(this BaseOrchestrator orchestrator, Func <OperationArgs, Task> action) => orchestrator.AddInterceptor(action);
/// <summary> /// Intercept the provider before it begins a database deprovisioning /// </summary> public static void OnDeprovisioning(this BaseOrchestrator orchestrator, Action <DeprovisioningArgs> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider after it has deprovisioned a database /// </summary> public static void OnDeprovisioned(this BaseOrchestrator orchestrator, Func <DeprovisionedArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider after it has provisioned a database /// </summary> public static void OnProvisioned(this BaseOrchestrator orchestrator, Action <ProvisionedArgs> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider when schema is loading /// </summary> public static void OnSchemaLoading(this BaseOrchestrator orchestrator, Func <SchemaLoadingArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider when schema is loaded /// </summary> public static void OnSchemaLoaded(this BaseOrchestrator orchestrator, Action <SchemaLoadedArgs> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider when a tracking table is creating /// </summary> public static void OnTrackingTableRenamed(this BaseOrchestrator orchestrator, Func <TrackingTableRenamedArgs, Task> action) => orchestrator.SetInterceptor(action);
/// <summary> /// Intercept the provider when a tracking table is creating /// </summary> public static void OnTrackingTableRenaming(this BaseOrchestrator orchestrator, Action <TrackingTableRenamingArgs> action) => orchestrator.SetInterceptor(action);