static void ConfigureAuditStore(IBusObserverConnector configurator, CloudTable table, Action <IMessageFilterConfigurator> configureFilter = default,
                                 IPartitionKeyFormatter formatter = default)
 {
     configurator.ConnectBusObserver(new AzureTableAuditBusObserver(table, configureFilter, formatter ?? new DefaultPartitionKeyFormatter()));
 }
Exemple #2
0
 static void ConfigureAuditStore(IBusObserverConnector configurator, DbContextOptionsBuilder dbContextOptions, string auditTableName,
                                 Action <IMessageFilterConfigurator> configureFilter = default)
 {
     configurator.ConnectBusObserver(new AuditBusObserver(dbContextOptions, auditTableName, configureFilter));
 }