C# Class NuGet.VisualStudio.VsPackageSourceProvider

Inheritance: IVsPackageSourceProvider
Mostra file Open project: themotleyfool/NuGet Class Usage Examples

Private Properties

Property Type Description
DeserializeActivePackageSource PackageSource
EnsureInitialized void
InitializeActivePackageSource void
IsAggregateSource bool
IsAggregateSource bool
IsOfficialPackageSource bool
PersistActivePackageSource void
PersistPackageSources void
VsPackageSourceProvider System
VsPackageSourceProvider System

Public Methods

Method Description
DisablePackageSource ( PackageSource source ) : void
IsPackageSourceEnabled ( PackageSource source ) : bool
LoadPackageSources ( ) : IEnumerable
SavePackageSources ( IEnumerable sources ) : void

Private Methods

Method Description
DeserializeActivePackageSource ( ISettings settings, IVsShellInfo vsShellInfo ) : PackageSource
EnsureInitialized ( ) : void
InitializeActivePackageSource ( ) : void
IsAggregateSource ( PackageSource packageSource ) : bool
IsAggregateSource ( string name, string source ) : bool
IsOfficialPackageSource ( PackageSource packageSource ) : bool
PersistActivePackageSource ( ISettings settings, IVsShellInfo vsShellInfo, PackageSource activePackageSource ) : void
PersistPackageSources ( IPackageSourceProvider packageSourceProvider, IVsShellInfo vsShellInfo, List packageSources ) : void
VsPackageSourceProvider ( ISettings settings, IPackageSourceProvider packageSourceProvider, IVsShellInfo vsShellInfo ) : System
VsPackageSourceProvider ( ISettings settings, IVsShellInfo vsShellInfo ) : System

Method Details

DisablePackageSource() public method

public DisablePackageSource ( PackageSource source ) : void
source PackageSource
return void

IsPackageSourceEnabled() public method

public IsPackageSourceEnabled ( PackageSource source ) : bool
source PackageSource
return bool

LoadPackageSources() public method

public LoadPackageSources ( ) : IEnumerable
return IEnumerable

SavePackageSources() public method

public SavePackageSources ( IEnumerable sources ) : void
sources IEnumerable
return void