Class ProjectNpmPackageAdder
Inheritance
ProjectNpmPackageAdder
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class ProjectNpmPackageAdder : ITransientDependency
Constructors
ProjectNpmPackageAdder(CliHttpClientFactory, IJsonSerializer, SourceCodeDownloadService, AngularSourceCodeAdder, IRemoteServiceExceptionHandler, IInstallLibsService, ICmdHelper)
Declaration
public ProjectNpmPackageAdder(CliHttpClientFactory cliHttpClientFactory, IJsonSerializer jsonSerializer, SourceCodeDownloadService sourceCodeDownloadService, AngularSourceCodeAdder angularSourceCodeAdder, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, IInstallLibsService installLibsService, ICmdHelper cmdHelper)
Parameters
Properties
AngularSourceCodeAdder
Declaration
public AngularSourceCodeAdder AngularSourceCodeAdder { get; }
Property Value
CmdHelper
Declaration
public ICmdHelper CmdHelper { get; }
Property Value
InstallLibsService
Declaration
public IInstallLibsService InstallLibsService { get; }
Property Value
JsonSerializer
Declaration
public IJsonSerializer JsonSerializer { get; }
Property Value
Logger
Declaration
public ILogger<ProjectNpmPackageAdder> Logger { get; set; }
Property Value
RemoteServiceExceptionHandler
Declaration
public IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
SourceCodeDownloadService
Declaration
public SourceCodeDownloadService SourceCodeDownloadService { get; }
Property Value
Methods
AddAngularPackageAsync(string, string, string, bool)
Declaration
public Task AddAngularPackageAsync(string directory, string npmPackageName, string version = null, bool withSourceCode = false)
Parameters
Returns
AddAngularPackageAsync(string, NpmPackageInfo, string, bool)
Declaration
public Task AddAngularPackageAsync(string directory, NpmPackageInfo npmPackage, string version = null, bool withSourceCode = false)
Parameters
Returns
AddMvcPackageAsync(string, NpmPackageInfo, string, bool)
Declaration
public Task AddMvcPackageAsync(string directory, NpmPackageInfo npmPackage, string version = null, bool skipInstallingLibs = false)
Parameters
Returns
DownloadAngularSourceCode(string, NpmPackageInfo, string)
Declaration
protected virtual Task DownloadAngularSourceCode(string angularDirectory, NpmPackageInfo package, string version = null)
Parameters
Returns
RemoveMvcPackageAsync(string, NpmPackageInfo, bool)
Declaration
public Task RemoveMvcPackageAsync(string directory, NpmPackageInfo npmPackage, bool skipInstallingLibs = false)
Parameters
Returns
Implements
Extension Methods