3 using System.Collections.Generic;
4 using System.Collections.Immutable;
12 private readonly HashSet<Identifier> identifiers =
new HashSet<Identifier>();
18 identifiers = element.GetAttributeIdentifierArray(
"identifiers", Array.Empty<Identifier>())
22 public static void Init(XElement? element)
24 if (element is
null) {
return; }
31 element.SetAttributeValue(
"identifiers",
string.Join(
",", identifiers));
34 public bool Contains(Identifier identifier) => identifiers.Contains(identifier);
36 public void Add(Identifier identifier) => identifiers.Add(identifier);
38 public void Remove(Identifier identifier) => identifiers.Remove(identifier);
40 public void Clear() => identifiers.Clear();
static IgnoredHints Instance
void Remove(Identifier identifier)
void SaveTo(XElement element)
void Add(Identifier identifier)
bool Contains(Identifier identifier)
static void Init(XElement? element)