C# Class NuGet.VisualStudio.VsPackageManagerFactory

Inheritance: IVsPackageManagerFactory
Afficher le fichier Open project: xero-github/Nuget Class Usage Examples

Méthodes publiques

Méthode Description
CreatePackageManager ( ) : IVsPackageManager

Creates an VsPackageManagerInstance that uses the Active Repository (the repository selected in the console drop down) and uses a fallback repository for dependencies.

CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies ) : IVsPackageManager
CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies, bool addToRecent ) : IVsPackageManager

Méthodes protégées

Méthode Description
GetConfigSettingsFileSystem ( string configFolderPath ) : IFileSystem

Private Methods

Méthode Description
CreateFallbackRepository ( IPackageRepository primaryRepository ) : IPackageRepository

Creates a FallbackRepository with an aggregate repository that also contains the primaryRepository.

GetRepositoryInfo ( ) : RepositoryInfo
IsAggregateRepository ( IPackageRepository repository ) : bool
VsPackageManagerFactory ( ISolutionManager solutionManager, IPackageRepositoryFactory repositoryFactory, IVsPackageSourceProvider packageSourceProvider, IFileSystemProvider fileSystemProvider, IRepositorySettings repositorySettings, IRecentPackageRepository recentPackagesRepository, VsPackageInstallerEvents packageEvents ) : System

Method Details

CreatePackageManager() public méthode

Creates an VsPackageManagerInstance that uses the Active Repository (the repository selected in the console drop down) and uses a fallback repository for dependencies.
public CreatePackageManager ( ) : IVsPackageManager
Résultat IVsPackageManager

CreatePackageManager() public méthode

public CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies ) : IVsPackageManager
repository IPackageRepository
useFallbackForDependencies bool
Résultat IVsPackageManager

CreatePackageManager() public méthode

public CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies, bool addToRecent ) : IVsPackageManager
repository IPackageRepository
useFallbackForDependencies bool
addToRecent bool
Résultat IVsPackageManager

GetConfigSettingsFileSystem() protected méthode

protected GetConfigSettingsFileSystem ( string configFolderPath ) : IFileSystem
configFolderPath string
Résultat IFileSystem