C# Class NuGet.ConsoleCredentialProvider

Inheritance: ICredentialProvider
Afficher le fichier Open project: themotleyfool/NuGet

Méthodes publiques

Méthode Description
GetCredentials ( Uri uri, IWebProxy proxy, CredentialType credentialType, bool retrying ) : ICredentials

Private Methods

Méthode Description
LaunchedFromVS ( ) : bool

When running from inside VS, no input is available to our executable locking up VS. VS sets up a couple of environment variables one of which is named VisualStudioVersion. Every time this is setup, we will just fail.

ReadLineAsSecureString ( ) : SecureString

Method Details

GetCredentials() public méthode

public GetCredentials ( Uri uri, IWebProxy proxy, CredentialType credentialType, bool retrying ) : ICredentials
uri System.Uri
proxy IWebProxy
credentialType CredentialType
retrying bool
Résultat ICredentials