public FileSystemCompositeStorageConfigurator(string path, CompositeStorageConfiguration configuration)
 {
     _path = path;
     _configuration = configuration;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a service which stores data in the file system.
 /// </summary>
 /// <param name="baseDirectory">The base directory of the database.</param>
 /// <param name="configuration">The configuration.</param>
 /// <returns>Enigma service used to store data</returns>
 public static EmbeddedEnigmaService CreateFileSystem(string baseDirectory, CompositeStorageConfiguration configuration)
 {
     return new EmbeddedEnigmaService(new FileSystemStorageFactoryService(baseDirectory, configuration));
 }