public BlobShellsSettingsSources(IShellsFileStore shellsFileStore,
                                  BlobShellStorageOptions blobOptions,
                                  IOptions <ShellOptions> shellOptions)
 {
     _shellsFileStore       = shellsFileStore;
     _blobOptions           = blobOptions;
     _tenantsFileSystemName = Path.Combine(shellOptions.Value.ShellsApplicationDataPath, _tenantsBlobName);
 }
 public BlobShellsConfigurationSources(
     IShellsFileStore shellsFileStore,
     IHostEnvironment hostingEnvironment,
     BlobShellStorageOptions blobOptions,
     IOptions <ShellOptions> shellOptions
     )
 {
     _shellsFileStore       = shellsFileStore;
     _environment           = hostingEnvironment.EnvironmentName;
     _blobOptions           = blobOptions;
     _fileSystemAppSettings = Path.Combine(shellOptions.Value.ShellsApplicationDataPath, "appsettings");
 }
Ejemplo n.º 3
0
        public BlobShellConfigurationSources(
            IShellsFileStore shellsFileStore,
            BlobShellStorageOptions blobOptions,
            IOptions <ShellOptions> shellOptions)
        {
            _shellsFileStore = shellsFileStore;
            _blobOptions     = blobOptions;

            // e.g., Sites.
            _container = shellOptions.Value.ShellsContainerName;

            // e.g., App_Data/Sites
            _fileStoreContainer = Path.Combine(shellOptions.Value.ShellsApplicationDataPath, shellOptions.Value.ShellsContainerName);
        }