public LocalMachineFileRepositorySpecSetup() { var config = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build(); var settings = new NetCoreAppSettings(config); Repository = LocalMachineFileRepository.FromSettings(settings); Blobository = LocalMachineFileRepository.FromSettings(settings); }
private static IBlobository GetBlobository(IAppHost appHost) { return(LocalMachineFileRepository.FromSettings(appHost.AppSettings)); }