예제 #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);
        }
예제 #2
0
 private static IBlobository GetBlobository(IAppHost appHost)
 {
     return(LocalMachineFileRepository.FromSettings(appHost.AppSettings));
 }