Class DNFPackageInstaller
Inheritance
System.Object
DNFPackageInstaller
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Cake.DNF.Module
Assembly:Cake.DNF.Module.dll
Syntax
public class DNFPackageInstaller : IPackageInstaller
Constructors
| Improve this Doc View SourceDNFPackageInstaller(ICakeEnvironment, IProcessRunner, ICakeLog, IDNFContentResolver, ICakeConfiguration)
Declaration
public DNFPackageInstaller(ICakeEnvironment environment, IProcessRunner processRunner, ICakeLog log, IDNFContentResolver contentResolver, ICakeConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.ICakeEnvironment | environment | |
Cake.Core.IO.IProcessRunner | processRunner | |
Cake.Core.Diagnostics.ICakeLog | log | |
IDNFContentResolver | contentResolver | |
Cake.Core.Configuration.ICakeConfiguration | config |
Methods
| Improve this Doc View SourceCanInstall(PackageReference, PackageType)
Declaration
public bool CanInstall(PackageReference package, PackageType type)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.Packaging.PackageReference | package | |
Cake.Core.Packaging.PackageType | type |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
Cake.Core.Packaging.IPackageInstaller.CanInstall(Cake.Core.Packaging.PackageReference, Cake.Core.Packaging.PackageType)
|
Improve this Doc
View Source
Install(PackageReference, PackageType, DirectoryPath)
Declaration
public IReadOnlyCollection<IFile> Install(PackageReference package, PackageType type, DirectoryPath path)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.Packaging.PackageReference | package | |
Cake.Core.Packaging.PackageType | type | |
Cake.Core.IO.DirectoryPath | path |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<Cake.Core.IO.IFile> |
Implements
Cake.Core.Packaging.IPackageInstaller.Install(Cake.Core.Packaging.PackageReference, Cake.Core.Packaging.PackageType, Cake.Core.IO.DirectoryPath)