コード例 #1
0
 /// <summary>
 /// Configure cluster to use azure transaction log.
 /// </summary>
 public static ISiloBuilder UseAzureTransactionLog(this ISiloBuilder builder, AzureTransactionLogConfiguration config)
 {
     return(builder.ConfigureServices(UseAzureTransactionLog)
            .Configure <AzureTransactionLogConfiguration>((cfg) => cfg.Copy(config)));
 }
コード例 #2
0
 public AzureTransactionLogStorage(SerializationManager serializationManager, IOptions <AzureTransactionLogConfiguration> configuration)
 {
     this.serializationManager = serializationManager;
     this.configuration        = configuration.Value;
 }