Base:
property
ElementName
NuGet.Configuration.SettingElement.ElementName
2 writes to ElementName
NuGet.Configuration (2)
Settings\SettingsGroup.cs (2)
29
ElementName
= name ?? throw new ArgumentNullException(message: Resources.Argument_Cannot_Be_Null_Or_Empty, paramName: nameof(name));
45
ElementName
= name;
10 references to ElementName
NuGet.Configuration (10)
Settings\NuGetConfiguration.cs (3)
15
internal IReadOnlyDictionary<string, SettingSection> Sections => Children.ToDictionary(c => c.
ElementName
);
65
if (!string.Equals(element.Name.LocalName,
ElementName
, StringComparison.OrdinalIgnoreCase))
130
if (sectionsContainer.TryGetValue(section.Value.
ElementName
, out var settingsSection))
Settings\ParsedSettingSection.cs (1)
28
return new VirtualSettingSection(
ElementName
, Attributes, Items.Select(s => (SettingItem)s.Clone()));
Settings\SettingSection.cs (3)
68
return string.Equals(
ElementName
, section.
ElementName
, StringComparison.Ordinal);
71
public override int GetHashCode() =>
ElementName
.GetHashCode();
Settings\SettingsGroup.cs (1)
62
var element = new XElement(XmlUtility.GetEncodedXMLName(
ElementName
), Children.Select(c => c.AsXNode()));
Settings\VirtualSettingSection.cs (2)
15
: this(section.
ElementName
, section.Attributes, section.Items)
158
return new VirtualSettingSection(
ElementName
, Attributes, Items.Select(s => (SettingItem)s.Clone()));