Esempio n. 1
0
        public override bool Equals(object other)
        {
            if (!(other is NameKey))
            {
                return(false);
            }
            NameKey key = (NameKey)other;

            return(name == key.name && ns == key.ns);
        }
Esempio n. 2
0
        public override bool Equals([NotNullWhen(true)] object?other)
        {
            if (!(other is NameKey))
            {
                return(false);
            }
            NameKey key = (NameKey)other;

            return(_name == key._name && _ns == key._ns);
        }
Esempio n. 3
0
        internal void Add(string name, string ns, object value)
        {
            NameKey key = new NameKey(name, ns);

            table.Add(key, value);
        }
Esempio n. 4
0
 internal void Add(string name, string ns, object value)
 {
     NameKey key = new NameKey(name, ns);
     _table.Add(key, value);
 }
Esempio n. 5
0
 public void Add(string name, string ns, object value) {
     NameKey key = new NameKey(name, ns);
     table.Add(key, value);
 }