1 write to Username
NuGet.Configuration (1)
PackageSource\PackageSourceCredential.cs (1)
100Username = username ?? throw new ArgumentNullException(nameof(username));
7 references to Username
NuGet.Configuration (7)
PackageSource\PackageSourceCredential.cs (7)
84public bool IsValid() => !string.IsNullOrEmpty(Username) && !string.IsNullOrEmpty(PasswordText); 112combiner.AddObject(Username); 178return new AuthTypeFilteredCredentials(new NetworkCredential(Username, Password), ValidAuthenticationTypes); 183return new PackageSourceCredential(Source, Username, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText); 207return new CredentialsItem(Source, Username, PasswordText, IsPasswordClearText, ValidAuthenticationTypesText); 223string.Equals(Username, other.Username, StringComparison.Ordinal) &&