public VSCodeSoftwareProvider( IDependencyConfigurationProvider dependencyConfigurationProvider, IOperatingSystemProvider operatingSystemProvider) : base(dependencyConfigurationProvider, operatingSystemProvider) { }
protected SoftwareProviderBase( IDependencyConfigurationProvider dependencyConfigurationProvider, IOperatingSystemProvider operatingSystemProvider) { this.dependencyConfigurationProvider = dependencyConfigurationProvider; this.operatingSystemProvider = operatingSystemProvider; }
public SoftwarePackage( string packageName, IEnumerable <string> dependencies, ISoftwareProvider provider, IOperatingSystemProvider operatingSystem, string?name = null) { PackageName = packageName; Dependencies = dependencies; Name = name; this.provider = provider; this.operatingSystem = operatingSystem; }
public SoftwarePackage( KeyValuePair <object, object> yaml, ISoftwareProvider provider, IOperatingSystemProvider operatingSystem) { if (yaml.Key is string key) { PackageName = key; } else { PackageName = string.Empty; throw new Exception("YAML key is not a string"); } if (yaml.Value is Dictionary <object, object> dict) { if (dict.ContainsKey("name") && dict["name"] is string name) { Name = name; } if (dict.ContainsKey("dependencies")) { Dependencies = (from d in dict["dependencies"] as List <object> select d as string).ToList(); } } this.provider = provider; this.operatingSystem = operatingSystem; if (Dependencies == null) { Dependencies = Enumerable.Empty <string>(); } }
internal OfficialFFmpegDownloader(IOperatingSystemProvider operatingSystemProvider) : base(operatingSystemProvider) { _linkProvider = new LinkProvider(operatingSystemProvider); }
protected FFmpegDownloaderBase(IOperatingSystemProvider operatingSystemProvider) { _operatingSystemProvider = operatingSystemProvider; }
internal SharedFFmpegDownloader(IOperatingSystemProvider operatingSystemProvider) : base(operatingSystemProvider) { }
public WindowsFeatureSoftwareProvider( IDependencyConfigurationProvider dependencyConfigurationProvider, IOperatingSystemProvider operatingSystemProvider) : base(dependencyConfigurationProvider, operatingSystemProvider) { }
internal LinkProvider() { _operatingSystemProvider = new OperatingSystemProvider(); }
internal LinkProvider(IOperatingSystemProvider operatingSystemProvider) { _operatingSystemProvider = operatingSystemProvider; }
protected FileSoftwareProviderBase( IDependencyConfigurationProvider dependencyConfigurationProvider, IOperatingSystemProvider operatingSystemProvider) : base(dependencyConfigurationProvider, operatingSystemProvider) { }
protected FFmpegDownloaderBase() { _operatingSystemProvider = new OperatingSystemProvider(); _operatingSystemArchitectureProvider = new OperatingSystemArchitectureProvider(); }
internal FullFFmpegDownloader(IOperatingSystemProvider operatingSystemProvider = default) : base(operatingSystemProvider) { }