ReadOnlyCollectionBuilder<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadOnlyCollectionBuilder<T>() |
Constructs a ReadOnlyCollectionBuilder<T>. |
ReadOnlyCollectionBuilder<T>(IEnumerable<T>) |
Constructs a ReadOnlyCollectionBuilder<T>, copying the contents of the given collection. |
ReadOnlyCollectionBuilder<T>(Int32) |
Constructs a ReadOnlyCollectionBuilder<T> 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. |
ReadOnlyCollectionBuilder<T>()
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T>.
public:
ReadOnlyCollectionBuilder();
public ReadOnlyCollectionBuilder ();
Public Sub New ()
Applies to
ReadOnlyCollectionBuilder<T>(IEnumerable<T>)
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T>, copying the contents of the given collection.
public:
ReadOnlyCollectionBuilder(System::Collections::Generic::IEnumerable<T> ^ collection);
public ReadOnlyCollectionBuilder (System.Collections.Generic.IEnumerable<T> collection);
new System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T> : seq<'T> -> System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T>
Public Sub New (collection As IEnumerable(Of T))
Parameters
- collection
- IEnumerable<T>
Collection to copy elements from.
Applies to
ReadOnlyCollectionBuilder<T>(Int32)
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T> 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.
public:
ReadOnlyCollectionBuilder(int capacity);
public ReadOnlyCollectionBuilder (int capacity);
new System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T> : int -> System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T>
Public Sub New (capacity As Integer)
Parameters
- capacity
- Int32
Initial capacity.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για