C# Class NuGet.VisualStudio.VsPackageInstaller

Inheritance: IVsPackageInstaller
显示文件 Open project: themotleyfool/NuGet Class Usage Examples

Public Methods

Method Description
InstallPackage ( IPackageRepository repository, Project project, string packageId, string version, bool ignoreDependencies, bool skipAssemblyReferences ) : void
InstallPackage ( string source, Project project, string packageId, System.Version version, bool ignoreDependencies ) : void
InstallPackage ( string source, Project project, string packageId, string version, bool ignoreDependencies ) : void

Private Methods

Method Description
InstallPackage ( IPackageRepository repository, Project project, string packageId, SemanticVersion version, bool ignoreDependencies, bool skipAssemblyReferences ) : void
InstallPackage ( string source, Project project, string packageId, SemanticVersion version, bool ignoreDependencies ) : void
ToSemanticVersion ( string version ) : SemanticVersion
VsPackageInstaller ( IVsPackageManagerFactory packageManagerFactory, IScriptExecutor scriptExecutor, IPackageRepositoryFactory repositoryFactory, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager ) : System

Method Details

InstallPackage() public method

public InstallPackage ( IPackageRepository repository, Project project, string packageId, string version, bool ignoreDependencies, bool skipAssemblyReferences ) : void
repository IPackageRepository
project Project
packageId string
version string
ignoreDependencies bool
skipAssemblyReferences bool
return void

InstallPackage() public method

public InstallPackage ( string source, Project project, string packageId, System.Version version, bool ignoreDependencies ) : void
source string
project Project
packageId string
version System.Version
ignoreDependencies bool
return void

InstallPackage() public method

public InstallPackage ( string source, Project project, string packageId, string version, bool ignoreDependencies ) : void
source string
project Project
packageId string
version string
ignoreDependencies bool
return void