C# Класс NuGet.VisualStudio.VsPackageManagerFactory

Наследование: IVsPackageManagerFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetConfigSettingsFileSystem ( string configFolderPath ) : IFileSystem

Приватные методы

Метод Описание
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

Описание методов

CreatePackageManager() публичный Метод

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
Результат IVsPackageManager

CreatePackageManager() публичный Метод

public CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies ) : IVsPackageManager
repository IPackageRepository
useFallbackForDependencies bool
Результат IVsPackageManager

CreatePackageManager() публичный Метод

public CreatePackageManager ( IPackageRepository repository, bool useFallbackForDependencies, bool addToRecent ) : IVsPackageManager
repository IPackageRepository
useFallbackForDependencies bool
addToRecent bool
Результат IVsPackageManager

GetConfigSettingsFileSystem() защищенный Метод

protected GetConfigSettingsFileSystem ( string configFolderPath ) : IFileSystem
configFolderPath string
Результат IFileSystem