Exemplo n.º 1
0
 public static TSource[] ToArray <TSource>(this SortedSet <TSource> source)
 => ValueReadOnlyCollection.ToArray <ValueWrapper <TSource>, SortedSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source));
Exemplo n.º 2
0
 public static TSource[] ToArray <TSource>(this ImmutableHashSet <TSource> source)
 => ValueReadOnlyCollection.ToArray <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source));
Exemplo n.º 3
0
 public static TKey[] ToArray <TKey, TValue>(this SortedDictionary <TKey, TValue> .KeyCollection source)
 => ValueReadOnlyCollection.ToArray <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source));
 public static KeyValuePair <TKey, TValue>[] ToArray <TKey, TValue>(this SortedDictionary <TKey, TValue> source)
 => ValueReadOnlyCollection.ToArray <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source));
Exemplo n.º 5
0
 public static TValue[] ToArray <TKey, TValue>(this Dictionary <TKey, TValue> .ValueCollection source)
 => ValueReadOnlyCollection.ToArray <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .ValueCollection.Enumerator, TValue>(new ValueWrapper <TKey, TValue>(source));