Esempio n. 1
0
 public AzureTableTransactionalStateStorageFactory(string name, AzureTableTransactionalStateOptions options, IOptions <ClusterOptions> clusterOptions, ITypeResolver typeResolver, IGrainFactory grainFactory, ILoggerFactory loggerFactory)
 {
     this.name           = name;
     this.options        = options;
     this.clusterOptions = clusterOptions.Value;
     this.jsonSettings   = OrleansJsonSerializer.GetDefaultSerializerSettings(typeResolver, grainFactory);
     this.loggerFactory  = loggerFactory;
 }
 public AzureTableTransactionalStateStorageFactory(string name, AzureTableTransactionalStateOptions options, IOptions <ClusterOptions> clusterOptions, IServiceProvider services, ILoggerFactory loggerFactory)
 {
     this.name           = name;
     this.options        = options;
     this.clusterOptions = clusterOptions.Value;
     this.jsonSettings   = TransactionalStateFactory.GetJsonSerializerSettings(services);
     this.loggerFactory  = loggerFactory;
 }