Esempio n. 1
0
 HashSet <A> Wrap(HashSetInternal <OrdDefault <A>, A> value) =>
 new HashSet <A>(value);
Esempio n. 2
0
 static HashSet <U> Wrap <U>(HashSetInternal <OrdDefault <U>, U> value) =>
 new HashSet <U>(value);
Esempio n. 3
0
 internal HashSet(HashSetInternal <OrdDefault <A>, A> value)
 {
     this.value = value;
 }
Esempio n. 4
0
 /// <summary>
 /// Ctor that takes an initial (distinct) set of items
 /// </summary>
 /// <param name="items"></param>
 public HashSet(IEnumerable <A> items, bool tryAdd)
 {
     value = new HashSetInternal <EqA, A>(items, tryAdd);
 }
Esempio n. 5
0
 static HashSet <EqB, B> Wrap <EqB, B>(HashSetInternal <EqB, B> value)
     where EqB : struct, Eq <B> =>
 new HashSet <EqB, B>(value);
Esempio n. 6
0
 HashSet <EqA, A> Wrap(HashSetInternal <EqA, A> value) =>
 new HashSet <EqA, A>(value);
Esempio n. 7
0
 internal HashSet(HashSetInternal <EqA, A> value)
 {
     this.value = value;
 }