Click or drag to resize

BcfReadOnlyArrayListT Class

[This is preliminary documentation and is subject to change.]

A readonly wrapper for arrays.
Inheritance Hierarchy
SystemObject
  CalculationWorks.BusinessModelBcfReadOnlyArrayListT
    More...

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public class BcfReadOnlyArrayList<T> : IReadOnlyList<T>, 
	IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IList<T>, ICollection<T>, 
	IList, ICollection

Type Parameters

T
Array element type

The BcfReadOnlyArrayListT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodContains
Public methodCopyTo
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator to enumerate inner array.
Public methodGetEnumeratorObject
Returns the same enumerator as ((IEnumerable)this).GetEnumerator()
Public methodGetEnumeratorObject(IBcfMutableEnumerable)
Returns an enumerator that throws InvalidOperationException when accessing it after Version changed.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWrap
Creates a new instance around specified array; null and empty arrays will return static readonly Empty.
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
An empty instance.
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateTSource(FuncTSource, TSource, TSource)Overloaded.
Applies an accumulator function over a sequence.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodAggregateTSource, 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.)
Public Extension MethodAllTSource
Gets a value indicating whether all elements in this collection match a given condition.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodAnyTSourceOverloaded.
Gets a value indicating whether any elements are in this collection.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodAnyTSource(FuncTSource, Boolean)Overloaded.
Gets a value indicating whether any elements are in this collection that match a given condition.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodElementAtTSource
Returns the element at a specified index in a sequence.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodElementAtOrDefaultTSource
Returns the element at a specified index in a sequence or a default value if the index is out of range.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodFirstTSourceOverloaded.
Returns the first element in a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodFirstTSource(FuncTSource, Boolean)Overloaded.
Returns the first element in a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodFirstOrDefaultTSourceOverloaded.
Returns the first element of a sequence, or a default value if the sequence contains no elements.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodFirstOrDefaultTSource(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.)
Public Extension MethodLastTSourceOverloaded.
Returns the last element of a sequence.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodLastTSource(FuncTSource, Boolean)Overloaded.
Returns the last element of a sequence that satisfies a specified condition.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodLastOrDefaultTSourceOverloaded.
Returns the last element of a sequence, or a default value if the sequence contains no elements.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodLastOrDefaultTSource(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.)
Public Extension MethodReverseTSource
Inverts the order of the elements in a sequence.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSelectTSource, TResult
Projects each element of a sequence into a new form.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSelectManyT, TResult(FuncT, BcfReadOnlyArrayListTResult)Overloaded. (Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSelectManyT, 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.)
Public Extension MethodSingleTSourceOverloaded.
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSingleTSource(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.)
Public Extension MethodSingleOrDefaultTSourceOverloaded.
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.)
Public Extension MethodSingleOrDefaultTSource(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.)
Public Extension MethodToArrayTSource
Copies the contents of this array to a mutable array.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodToDictionaryTSource, TKey(FuncTSource, TKey)Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodToDictionaryTSource, TKey(FuncTSource, TKey, IEqualityComparerTKey)Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodToDictionaryTSource, TKey, TElement(FuncTSource, TKey, FuncTSource, TElement)Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodToDictionaryTSource, TKey, TElement(FuncTSource, TKey, FuncTSource, TElement, IEqualityComparerTKey)Overloaded.
Creates a dictionary based on the contents of this array.
(Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodWhereTSource
Filters a sequence of values based on a predicate.
(Defined by BcfReadOnlyArrayListExtensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  CalculationWorks.BusinessModelBcfReadOnlyArrayListT
    CalculationWorks.BusinessModelBcfCellCollection
    CalculationWorks.BusinessModelBcfChildRelationCellCollection
    CalculationWorks.BusinessModelBcfColumnCollection
    CalculationWorks.BusinessModelBcfParentRelationCellCollection
    CalculationWorks.BusinessModelBcfRelationCollection
    CalculationWorks.BusinessModelBcfRuleCollection
    CalculationWorks.BusinessModelBcfTableCollection
    CalculationWorks.ViewModel.FormsBcfReflectedChildRelationCollection
    CalculationWorks.ViewModel.FormsBcfReflectedColumnCollection
    CalculationWorks.ViewModel.FormsBcfReflectedParentRelationCollection
    CalculationWorks.ViewModel.WindowsBcfReflectedChildRelationCollection
    CalculationWorks.ViewModel.WindowsBcfReflectedColumnCollection
    CalculationWorks.ViewModel.WindowsBcfReflectedParentRelationCollection