13 references to Key
aspire (5)
DotNet\DotNetAppHostNuGetConfigMerger.cs (3)
198string.Equals(mapping.Key, source.Key, StringComparison.OrdinalIgnoreCase)) && 200string.Equals(mapping.Key, source.Key, StringComparison.OrdinalIgnoreCase)); 225.Where(mapping => string.Equals(mapping.Key, key, StringComparison.OrdinalIgnoreCase))
NuGet\NuGetClient.cs (2)
816item.Key, item.Patterns.Select(static pattern => pattern.Pattern).ToArray())) 851mapping.Key,
NuGet.Configuration (8)
PackageSourceMapping\PackageSourceMapping.cs (1)
78patterns.Add(packageSourceNamespaceItem.Key, new List<string>(packageSourceNamespaceItem.Patterns.Select(e => e.Pattern)));
Settings\Items\PackageSourceMappingSourceItem.cs (7)
40throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.PropertyCannotBeNullOrEmpty, nameof(Key))); 85throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePatternWithPath, Key, origin.ConfigFilePath)); 114Key, 153throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePattern, packageSourceMappingSourceItem.Key)); 209return string.Equals(Key, item.Key, StringComparison.OrdinalIgnoreCase); 219combiner.AddStringIgnoreCase(Key);