BcfReadOnlyArrayListT Class |
[This is preliminary documentation and is subject to change.]
Namespace: CalculationWorks.BusinessModel
public class BcfReadOnlyArrayList<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IList<T>, ICollection<T>, IList, ICollection
The BcfReadOnlyArrayListT type exposes the following members.
| Name | Description | |
|---|---|---|
| BcfReadOnlyArrayListT |
Creates a new instance
|
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT. | |
| Item |
Gets the element at the specified index.
|
| Name | Description | |
|---|---|---|
| Contains | Determines whether the ICollectionT contains a specific value. | |
| CopyTo | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator to enumerate inner array.
| |
| GetEnumeratorObject |
Returns the same enumerator as ((IEnumerable)this).GetEnumerator()
| |
| GetEnumeratorObject(IBcfMutableEnumerable) |
Returns an enumerator that throws InvalidOperationException when accessing it after Version changed.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Determines the index of a specific item in the IListT. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Wrap |
Creates a new instance around specified array; null and empty arrays will return static readonly Empty.
|
| Name | Description | |
|---|---|---|
| AggregateTSource(FuncTSource, TSource, TSource) | Overloaded.
Applies an accumulator function over a sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| AggregateTSource, TAccumulate, TResult(TAccumulate, FuncTAccumulate, TSource, TAccumulate, FuncTAccumulate, TResult) | Overloaded.
Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| AllTSource |
Gets a value indicating whether all elements in this collection
match a given condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| AnyTSource | Overloaded.
Gets a value indicating whether any elements are in this collection.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| AnyTSource(FuncTSource, Boolean) | Overloaded.
Gets a value indicating whether any elements are in this collection
that match a given condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ElementAtTSource |
Returns the element at a specified index in a sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ElementAtOrDefaultTSource |
Returns the element at a specified index in a sequence or a default value if the index is out of range.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| FirstTSource | Overloaded.
Returns the first element in a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| FirstTSource(FuncTSource, Boolean) | Overloaded.
Returns the first element in a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| FirstOrDefaultTSource | Overloaded.
Returns the first element of a sequence, or a default value if the sequence contains no elements.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| FirstOrDefaultTSource(FuncTSource, Boolean) | Overloaded.
Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| LastTSource | Overloaded.
Returns the last element of a sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| LastTSource(FuncTSource, Boolean) | Overloaded.
Returns the last element of a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| LastOrDefaultTSource | Overloaded.
Returns the last element of a sequence, or a default value if the sequence contains no elements.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| LastOrDefaultTSource(FuncTSource, Boolean) | Overloaded.
Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ReverseTSource |
Inverts the order of the elements in a sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SelectTSource, TResult |
Projects each element of a sequence into a new form.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SelectManyT, TResult(FuncT, BcfReadOnlyArrayListTResult) | Overloaded.
Projects each element of a sequence to an IEnumerableT,
flattens the resulting sequences into one sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SelectManyT, TCollection, TResult(FuncT, BcfReadOnlyArrayListTCollection, FuncT, TCollection, TResult) | Overloaded.
Projects each element of a sequence to an IEnumerableT,
flattens the resulting sequences into one sequence, and invokes a result
selector function on each element therein.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SingleTSource | Overloaded.
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SingleTSource(FuncTSource, Boolean) | Overloaded.
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SingleOrDefaultTSource | Overloaded.
Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| SingleOrDefaultTSource(FuncTSource, Boolean) | Overloaded.
Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ToArrayTSource |
Copies the contents of this array to a mutable array.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ToDictionaryTSource, TKey(FuncTSource, TKey) | Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ToDictionaryTSource, TKey(FuncTSource, TKey, IEqualityComparerTKey) | Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ToDictionaryTSource, TKey, TElement(FuncTSource, TKey, FuncTSource, TElement) | Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| ToDictionaryTSource, TKey, TElement(FuncTSource, TKey, FuncTSource, TElement, IEqualityComparerTKey) | Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.) | |
| WhereTSource |
Filters a sequence of values based on a predicate.
(Defined by BcfReadOnlyArrayListExtensions.) |