Method | Description | |
---|---|---|
LoadPackageSources ( ) : IEnumerable |
Returns PackageSources if specified in the config file. Else returns the default sources specified in the constructor. If no default values were specified, returns an empty sequence.
|
|
PackageSourceProvider ( ISettings settingsManager ) : System | ||
PackageSourceProvider ( ISettings settingsManager, IEnumerable |
Creates a new PackageSourceProvider instance.
|
|
PackageSourceProvider ( ISettings settingsManager, IEnumerable |
||
SavePackageSources ( IEnumerable |
Method | Description | |
---|---|---|
MigrateSources ( List |
||
ReadCredential ( string sourceName ) : NetworkCredential |
public PackageSourceProvider ( ISettings settingsManager ) : System | ||
settingsManager | ISettings | |
return | System |
public PackageSourceProvider ( ISettings settingsManager, IEnumerable |
||
settingsManager | ISettings | Specifies the settings file to use to read package sources. |
defaultSources | IEnumerable |
Specifies the sources to return if no package sources are available. |
return | System |
public PackageSourceProvider ( ISettings settingsManager, IEnumerable |
||
settingsManager | ISettings | |
defaultSources | IEnumerable |
|
migratePackageSources | PackageSource>.IDictionary | |
return | System |
public SavePackageSources ( IEnumerable |
||
sources | IEnumerable |
|
return | void |