Esempio n. 1
0
        public LocalMachineFileRepositorySpecSetup()
        {
            var config   = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings = new NetCoreAppSettings(config);

            Repository  = LocalMachineFileRepository.FromSettings(settings);
            Blobository = LocalMachineFileRepository.FromSettings(settings);
        }
Esempio n. 2
0
 private static IBlobository GetBlobository(IAppHost appHost)
 {
     return(LocalMachineFileRepository.FromSettings(appHost.AppSettings));
 }