Skip to content

Collections Support

Cy Scott edited this page Aug 23, 2021 · 3 revisions

Arrays and some collection types are supported. That means the generator will not attempt to generate classes for collection interfaces referenced by classes that are being generated. In addition, interfaces referenced by the generic arguments for the collection interfaces will get generated classes (for more read this). The following collections are supported:

  • System.Array
  • System.Collections.ArrayList
  • System.Collections.BitArray
  • System.Collections.Concurrent.BlockingCollection<T>
  • System.Collections.Concurrent.ConcurrentBag<T>
  • System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>
  • System.Collections.Concurrent.ConcurrentQueue<T>
  • System.Collections.Concurrent.ConcurrentStack<T>
  • System.Collections.Generic.Dictionary<TKey, TValue>
  • System.Collections.Generic.HashSet<T>
  • System.Collections.Generic.ICollection<T>
  • System.Collections.Generic.IDictionary<TKey, TValue>
  • System.Collections.Generic.IEnumerable<T>
  • System.Collections.Generic.IList<T>
  • System.Collections.Generic.IReadOnlyCollection<T>
  • System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
  • System.Collections.Generic.IReadOnlyList<T>
  • System.Collections.Generic.IReadOnlySet<T>
  • System.Collections.Generic.ISet<T>
  • System.Collections.Generic.LinkedList<T>
  • System.Collections.Generic.List<T>
  • System.Collections.Generic.Queue<T>
  • System.Collections.Generic.SortedDictionary<TKey, TValue>
  • System.Collections.Generic.SortedList<TKey, TValue>
  • System.Collections.Generic.SortedSet<T>
  • System.Collections.Generic.Stack<T>
  • System.Collections.Hashtable
  • System.Collections.ICollection
  • System.Collections.IDictionary
  • System.Collections.IEnumerable
  • System.Collections.IList
  • System.Collections.ObjectModel.Collection<T>
  • System.Collections.ObjectModel.ObservableCollection<T>
  • System.Collections.ObjectModel.ReadOnlyCollection<T>
  • System.Collections.ObjectModel.ReadOnlyObservableCollection<T>
  • System.Collections.Queue
  • System.Collections.SortedList
  • System.Collections.Specialized.IOrderedDictionary
  • System.Collections.Specialized.NameValueCollection
  • System.Collections.Specialized.OrderedDictionary
  • System.Collections.Specialized.StringCollection
  • System.Collections.Specialized.StringDictionary
  • System.Collections.Stack

Clone this wiki locally