Click or drag to resize

BcfFaultViewCollectionTFaultView Class

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

Generic base class for BcfFaultView lists.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionTFaultView
    System.ComponentModelBindingListTFaultView
      CalculationWorks.ViewModel.FormsBcfFaultViewCollectionTFaultView
        CalculationWorks.ViewModel.FormsBcfFaultViewCollection

Namespace:  CalculationWorks.ViewModel.Forms
Assembly:  CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 4.0.0-beta7
Syntax
public abstract class BcfFaultViewCollection<TFaultView> : BindingList<TFaultView>, 
	IBindingListView, IBindingList, IList, ICollection, IEnumerable, 
	IDisposable, IList<TFaultView>, ICollection<TFaultView>, 
	IEnumerable<TFaultView>, IReadOnlyList<TFaultView>, IReadOnlyCollection<TFaultView>
where TFaultView : BcfFaultView

Type Parameters

TFaultView
The type of fault view items.

The BcfFaultViewCollectionTFaultView type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListTFaultView.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListTFaultView.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListTFaultView.)
Public propertyCount (Inherited from CollectionTFaultView.)
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
Public propertyIsFiltered
Gets a value indicating the items in the list are filtered.
Protected propertyIsSortedCore
Gets a value indicating whether this instance is sorted.
(Overrides BindingListTIsSortedCore.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionTFaultView.)
Protected propertyItems (Inherited from CollectionTFaultView.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListTFaultView.)
Public propertySortDescriptions
Gets the collection of sort descriptions currently applied to the data source.
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingListTFaultView.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.
(Inherited from BindingListTFaultView.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListTFaultView.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingListTFaultView.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingListTFaultView.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionTFaultView.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListTFaultView.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListTFaultView.)
Public methodApplyFilter
Applies the filter.
Public methodApplySort
Sorts the data source based on the given ListSortDescriptionCollection.
Protected methodApplySortCore
Applies the sort.
(Overrides BindingListTApplySortCore(PropertyDescriptor, ListSortDirection).)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListTFaultView.)
Public methodClear (Inherited from CollectionTFaultView.)
Public methodClearFilter
Removes the filter.
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingListTFaultView.)
Public methodClearSort
Removes the sort.
Public methodContains (Inherited from CollectionTFaultView.)
Public methodCopyTo (Inherited from CollectionTFaultView.)
Public methodCreateFaultView
Creates the TFaultView
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListTFaultView.)
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.)
Protected methodFindCore
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingListTFaultView.)
Public methodGetEnumerator (Inherited from CollectionTFaultView.)
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 (Inherited from CollectionTFaultView.)
Public methodInsert (Inherited from CollectionTFaultView.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingListTFaultView.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListTFaultView.)
Protected methodOnListChanged
Raises the ListChanged event.
(Inherited from BindingListTFaultView.)
Public methodRemove (Inherited from CollectionTFaultView.)
Public methodRemoveAt (Inherited from CollectionTFaultView.)
Protected methodRemoveItem
Removes the item at the specified index.
(Inherited from BindingListTFaultView.)
Protected methodRemoveSortCore
Removes the sort.
(Overrides BindingListTRemoveSortCore.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListTFaultView.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListTFaultView.)
Public methodSetFilter
Sets the filter function.
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListTFaultView.)
Public methodSetSort(IEnumerableComparisonTFaultView)
Sets the sort function specified by comparisons and updates the item order.
Public methodSetSort(ComparisonTFaultView)
Sets the sort function specified by comparisons and updates the item order.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingListTFaultView.)
Public eventDisposed
Represents the method that handles the Disposed event.
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListTFaultView.)
Top
Extension Methods
  NameDescription
Public Extension MethodSelectManyTFaultView, TResult(FuncTFaultView, BcfReadOnlyArrayListTResult)Overloaded. (Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSelectManyTFaultView, TCollection, TResult(FuncTFaultView, BcfReadOnlyArrayListTCollection, FuncTFaultView, 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.)
Top
See Also