ReadOnlyCollectionBuilder<T> Constructor

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ReadOnlyCollectionBuilder<T>() Constructs a ReadOnlyCollectionBuilder.
Public method ReadOnlyCollectionBuilder<T>(IEnumerable<T>) Constructs a ReadOnlyCollectionBuilder, copying contents of the given collection.
Public method ReadOnlyCollectionBuilder<T>(Int32) Constructs a ReadOnlyCollectionBuilder with a given initial capacity. The contents are empty but builder will have reserved room for the given number of elements before any reallocations are required.

Community Additions