Exemple #1
0
 HashSet <A> Wrap(HashSetInternal <OrdDefault <A>, A> value) =>
 new HashSet <A>(value);
Exemple #2
0
 static HashSet <U> Wrap <U>(HashSetInternal <OrdDefault <U>, U> value) =>
 new HashSet <U>(value);
Exemple #3
0
 internal HashSet(HashSetInternal <OrdDefault <A>, A> value)
 {
     this.value = value;
 }
Exemple #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);
 }
Exemple #5
0
 static HashSet <EqB, B> Wrap <EqB, B>(HashSetInternal <EqB, B> value)
     where EqB : struct, Eq <B> =>
 new HashSet <EqB, B>(value);
Exemple #6
0
 HashSet <EqA, A> Wrap(HashSetInternal <EqA, A> value) =>
 new HashSet <EqA, A>(value);
Exemple #7
0
 internal HashSet(HashSetInternal <EqA, A> value)
 {
     this.value = value;
 }