8 references to Key
NuGet.Configuration (8)
PackageSourceMapping\PackageSourceMapping.cs (1)
78
patterns.Add(packageSourceNamespaceItem.
Key
, new List<string>(packageSourceNamespaceItem.Patterns.Select(e => e.Pattern)));
Settings\Items\PackageSourceMappingSourceItem.cs (7)
40
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.PropertyCannotBeNullOrEmpty, nameof(
Key
)));
85
throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePatternWithPath,
Key
, origin.ConfigFilePath));
114
Key
,
153
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePattern, packageSourceMappingSourceItem.
Key
));
209
return string.Equals(
Key
, item.
Key
, StringComparison.OrdinalIgnoreCase);
219
combiner.AddStringIgnoreCase(
Key
);