Exemplo n.º 1
0
 public static SystemGenerics.HashSet <T> Create(SystemGenerics.IEnumerable <T> collection,
                                                 SystemGenerics.IEqualityComparer <T> comparer) =>
 new Mock(collection, comparer);
Exemplo n.º 2
0
 public static SystemGenerics.HashSet <T> Create(int capacity,
                                                 SystemGenerics.IEqualityComparer <T> comparer) =>
 new Mock(capacity, comparer);
Exemplo n.º 3
0
 internal Mock(SystemGenerics.IEqualityComparer <T> comparer)
     : base(comparer) => this.Setup();
Exemplo n.º 4
0
 internal Mock(int capacity, SystemGenerics.IEqualityComparer <T> comparer)
     : base(capacity, comparer) => this.Setup();
Exemplo n.º 5
0
 internal Mock(SystemGenerics.IEnumerable <T> collection, SystemGenerics.IEqualityComparer <T> comparer)
     : base(collection, comparer) => this.Setup();
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new dictionary instance class that contains elements copied
 /// from the specified enumerable and uses the specified equality comparer.
 /// </summary>
 public static SystemGenerics.Dictionary <TKey, TValue> Create(
     SystemGenerics.IEnumerable <SystemGenerics.KeyValuePair <TKey, TValue> > collection,
     SystemGenerics.IEqualityComparer <TKey> comparer) =>
 new Mock(collection, comparer);
Exemplo n.º 7
0
 public static SystemGenerics.Dictionary <TKey, TValue> Create(
     int capacity, SystemGenerics.IEqualityComparer <TKey> comparer) =>
 new Mock(capacity, comparer);
Exemplo n.º 8
0
 internal Mock(SystemGenerics.IEnumerable <SystemGenerics.KeyValuePair <TKey, TValue> > collection,
               SystemGenerics.IEqualityComparer <TKey> comparer)
     : base(collection, comparer) => this.Setup();
Exemplo n.º 9
0
 internal Mock(SystemGenerics.IDictionary <TKey, TValue> dictionary,
               SystemGenerics.IEqualityComparer <TKey> comparer)
     : base(dictionary, comparer) => this.Setup();