Пример #1
0
 public ArangoGrainStorage(string name, ArangoStorageOptions options, ILoggerFactory loggerFactory,
                           SerializationManager serializationManager, ITypeResolver typeResolver, IGrainFactory grainFactory)
 {
     Name                 = name;
     Options              = options;
     LoggerFactory        = loggerFactory;
     Logger               = loggerFactory.CreateLogger($"{this.GetType().FullName}.{name}");
     SerializationManager = serializationManager;
     TypeResolver         = typeResolver;
     GrainFactory         = grainFactory;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="options">The option to be validated.</param>
 /// <param name="name">The option name to be validated.</param>
 public ArangoGrainStorageOptionsValidator(ArangoStorageOptions options, string name)
 {
     Options = options;
     Name    = name;
 }