Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
MigrateSources ( List |
||
ReadCredential ( string sourceName ) : NetworkCredential |
public LoadPackageSources ( ) : IEnumerable |
||
Результат | IEnumerable |
public PackageSourceProvider ( ISettings settingsManager ) : System | ||
settingsManager | ISettings | |
Результат | 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. |
Результат | System |
public PackageSourceProvider ( ISettings settingsManager, IEnumerable |
||
settingsManager | ISettings | |
defaultSources | IEnumerable |
|
migratePackageSources | PackageSource>.IDictionary | |
Результат | System |
public SavePackageSources ( IEnumerable |
||
sources | IEnumerable |
|
Результат | void |