public ModuleInstaller(IExternalModuleCatalog extModuleCatalog, IExternalModulesClient externalClient, ITransactionFileManager txFileManager, IOptions <LocalStorageModuleCatalogOptions> localOptions) { _extModuleCatalog = extModuleCatalog; _externalClient = externalClient; _options = localOptions.Value; _fileManager = txFileManager; }
public LocalStorageModuleCatalog(IOptions <LocalStorageModuleCatalogOptions> options) { _options = options.Value; if (_options.VirtualPath != null) { _options.VirtualPath = _options.VirtualPath.TrimEnd(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); } }
public ModuleInstaller(IExternalModuleCatalog extModuleCatalog, IExternalModulesClient externalClient, ITransactionFileManager txFileManager, IOptions <LocalStorageModuleCatalogOptions> localOptions, IFileSystem fileSystem, IZipFileWrapper zipFileWrapper) { _extModuleCatalog = extModuleCatalog; _externalClient = externalClient; _options = localOptions.Value; _fileManager = txFileManager; _fileSystem = fileSystem; _zipFileWrapper = zipFileWrapper; }
public LocalStorageModuleCatalog(IOptions <LocalStorageModuleCatalogOptions> options, IDistributedLockProvider distributedLockProvider, ILogger <LocalStorageModuleCatalog> logger) { _options = options.Value; _discoveryPath = _options.DiscoveryPath; if (!_discoveryPath.EndsWith(PlatformInformation.DirectorySeparator)) { _discoveryPath += PlatformInformation.DirectorySeparator; } // Resolve IConnectionMultiplexer as multiple services to avoid crash if the platform ran without Redis // https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-3.1#service-registration-methods _distributedLockProvider = distributedLockProvider; _logger = logger; }
public LocalStorageModuleCatalog(IOptions <LocalStorageModuleCatalogOptions> options, ILogger <LocalStorageModuleCatalog> logger) { _options = options.Value; _logger = logger; }
public LocalStorageModuleCatalog(IOptions <LocalStorageModuleCatalogOptions> options) { _options = options.Value; }
public ModuleInstaller(IExternalModuleCatalog extModuleCatalog, IOptions <LocalStorageModuleCatalogOptions> localOptions, IExternalModulesClient externalClient) { _extModuleCatalog = extModuleCatalog; _externalClient = externalClient; _options = localOptions.Value; }