System.ObjectModel
Provides the abstract base class for a collection whose keys are embedded in the values.
The type of keys in the collection.
The type of items in the collection.
Initializes a new instance of the class that uses the default equality comparer.
Initializes a new instance of the class that uses the specified equality comparer.
The implementation of the generic interface to use when comparing keys, or null to use the default equality comparer for the type of the key, obtained from .
Initializes a new instance of the class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded.
The implementation of the generic interface to use when comparing keys, or null to use the default equality comparer for the type of the key, obtained from .
The number of elements the collection can hold without creating a lookup dictionary (0 creates the lookup dictionary when the first item is added), or –1 to specify that a lookup dictionary is never created.
is less than –1.
Changes the key associated with the specified element in the lookup dictionary.
The element to change the key of.
The new key for .
is null.-or- is null.
is not found.-or- already exists in the .
Removes all elements from the .
Gets the generic equality comparer that is used to determine equality of keys in the collection.
The implementation of the generic interface that is used to determine equality of keys in the collection.
Determines whether the collection contains an element with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key to locate in the .
is null.
Gets the lookup dictionary of the .
The lookup dictionary of the , if it exists; otherwise, null.
When implemented in a derived class, extracts the key from the specified element.
The key for the specified element.
The element from which to extract the key.
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The object to insert.
is less than 0.-or- is greater than .
Gets the element with the specified key.
The element with the specified key. If an element with the specified key is not found, an exception is thrown.
The key of the element to get.
is null.
An element with the specified key does not exist in the collection.
Removes the element with the specified key from the .
true if the element is successfully removed; otherwise, false. This method also returns false if is not found in the .
The key of the element to remove.
is null.
Removes the element at the specified index of the .
The index of the element to remove.
Replaces the item at the specified index with the specified item.
The zero-based index of the item to be replaced.
The new item.
Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
The type of elements in the collection.
Initializes a new instance of the class.
Initializes a new instance of the class that contains elements copied from the specified collection.
The collection from which the elements are copied.
The parameter cannot be null.
Disallows reentrant attempts to change this collection.
An object that can be used to dispose of the object.
Checks for reentrant attempts to change this collection.
If there was a call to of which the return value has not yet been disposed of. Typically, this means when there are additional attempts to change this collection during a event. However, it depends on when derived classes choose to call .
Removes all items from the collection.
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Inserts an item into the collection at the specified index.
The zero-based index at which should be inserted.
The object to insert.
Moves the item at the specified index to a new location in the collection.
The zero-based index specifying the location of the item to be moved.
The zero-based index specifying the new location of the item.
Moves the item at the specified index to a new location in the collection.
The zero-based index specifying the location of the item to be moved.
The zero-based index specifying the new location of the item.
Raises the event with the provided arguments.
Arguments of the event being raised.
Raises the event with the provided arguments.
Arguments of the event being raised.
Occurs when a property value changes.
Removes the item at the specified index of the collection.
The zero-based index of the element to remove.
Replaces the element at the specified index.
The zero-based index of the element to replace.
The new value for the element at the specified index.
Occurs when a property value changes.
Represents a read-only, generic collection of key/value pairs.
The type of keys in the dictionary.
The type of values in the dictionary.
Initializes a new instance of the class that is a wrapper around the specified dictionary.
The dictionary to wrap.
Determines whether the dictionary contains an element that has the specified key.
true if the dictionary contains an element that has the specified key; otherwise, false.
The key to locate in the dictionary.
Gets the number of items in the dictionary.
The number of items in the dictionary.
Gets the dictionary that is wrapped by this object.
The dictionary that is wrapped by this object.
Returns an enumerator that iterates through the .
An enumerator that can be used to iterate through the collection.
Gets the element that has the specified key.
The element that has the specified key.
The key of the element to get.
is null.
The property is retrieved and is not found.
Gets a key collection that contains the keys of the dictionary.
A key collection that contains the keys of the dictionary.
Throws a exception in all cases.
The object to add to the dictionary.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the dictionary contains a specific value.
true if is found in the dictionary; otherwise, false.
The object to locate in the dictionary.
Copies the elements of the dictionary to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or-The number of elements in the source dictionary is greater than the available space from to the end of the destination .-or-Type cannot be cast automatically to the type of the destination .
Gets a value that indicates whether the dictionary is read-only.
true in all cases.
Throws a exception in all cases.
Throws a exception in all cases.
The object to remove from the dictionary.
In all cases.
Throws a exception in all cases.
The object to use as the key of the element to add.
The object to use as the value of the element to add.
In all cases.
Gets the element that has the specified key.
The element that has the specified key.
The key of the element to get or set.
is null.
The property is retrieved and is not found.
The property is set.
Gets a collection that contains the keys of the dictionary.
A collection that contains the keys of the object that implements .
Throws a exception in all cases.
Throws a exception in all cases.
The key of the element to remove.
In all cases.
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the object that implements .
Gets an enumerable collection that contains the keys in the read-only dictionary.
An enumerable collection that contains the keys in the read-only dictionary.
Gets an enumerable collection that contains the values in the read-only dictionary.
An enumerable collection that contains the values in the read-only dictionary.
Copies the elements of the dictionary to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- The number of elements in the source dictionary is greater than the available space from to the end of the destination .-or- The type of the source dictionary cannot be cast automatically to the type of the destination
Gets a value that indicates whether access to the dictionary is synchronized (thread safe).
true if access to the dictionary is synchronized (thread safe); otherwise, false.
Gets an object that can be used to synchronize access to the dictionary.
An object that can be used to synchronize access to the dictionary.
Throws a exception in all cases.
The key of the element to add.
The value of the element to add.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the dictionary contains an element that has the specified key.
true if the dictionary contains an element that has the specified key; otherwise, false.
The key to locate in the dictionary.
is null.
Returns an enumerator for the dictionary.
An enumerator for the dictionary.
Gets a value that indicates whether the dictionary has a fixed size.
true if the dictionary has a fixed size; otherwise, false.
Gets a value that indicates whether the dictionary is read-only.
true in all cases.
Gets the element that has the specified key.
The element that has the specified key.
The key of the element to get or set.
is null.
The property is set.-or- The property is set, does not exist in the collection, and the dictionary has a fixed size.
Gets a collection that contains the keys of the dictionary.
A collection that contains the keys of the dictionary.
Throws a exception in all cases.
The key of the element to remove.
In all cases.
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the dictionary.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Retrieves the value that is associated with the specified key.
true if the object that implements contains an element with the specified key; otherwise, false.
The key whose value will be retrieved.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the object that implements .
Represents a read-only collection of the keys of a object.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or-The number of elements in the source collection is greater than the available space from to the end of the destination .-or-Type cannot be cast automatically to the type of the destination .
Gets the number of elements in the collection.
The number of elements in the collection.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Throws a exception in all cases.
The object to add to the collection.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the collection contains a specific value.
true if is found in the collection; otherwise, false.
The object to locate in the collection.
Gets a value that indicates whether the collection is read-only.
true in all cases.
Throws a exception in all cases.
true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the original collection.
The object to remove from the collection.
In all cases.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or-The number of elements in the source collection is greater than the available space from to the end of the destination .
Gets a value that indicates whether access to the collection is synchronized (thread safe).
true if access to the collection is synchronized (thread safe); otherwise, false.
Gets an object that can be used to synchronize access to the collection.
An object that can be used to synchronize access to the collection.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Represents a read-only collection of the values of a object.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or-The number of elements in the source collection is greater than the available space from to the end of the destination .-or-Type cannot be cast automatically to the type of the destination .
Gets the number of elements in the collection.
The number of elements in the collection.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Throws a exception in all cases.
The object to add to the collection.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the collection contains a specific value.
true if is found in the collection; otherwise, false.
The object to locate in the collection.
Gets a value that indicates whether the collection is read-only.
true in all cases.
Throws a exception in all cases.
true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the original collection.
The object to remove from the collection.
In all cases.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or-The number of elements in the source collection is greater than the available space from to the end of the destination .
Gets a value that indicates whether access to the collection is synchronized (thread safe).
true if access to the collection is synchronized (thread safe); otherwise, false.
Gets an object that can be used to synchronize access to the collection.
An object that can be used to synchronize access to the collection.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Represents a read-only .
The type of elements in the collection.
Initializes a new instance of the class that serves as a wrapper around the specified .
The with which to create this instance of the class.
is null.
Occurs when an item is added or removed.
Raises the event using the provided arguments.
Arguments of the event being raised.
Raises the event using the provided arguments.
Arguments of the event being raised.
Occurs when a property value changes.
Occurs when the collection changes.
Occurs when a property value changes.
Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed.
Occurs when the collection changes.
Describes the action that caused a event.
One or more items were added to the collection.
One or more items were moved within the collection.
One or more items were removed from the collection.
One or more items were replaced in the collection.
The content of the collection changed dramatically.
Provides data for the event.
Initializes a new instance of the class that describes a change.
The action that caused the event. This must be set to .
Initializes a new instance of the class that describes a multi-item change.
The action that caused the event. This can be set to , , or .
The items that are affected by the change.
Initializes a new instance of the class that describes a multi-item change.
The action that caused the event. This can only be set to .
The new items that are replacing the original items.
The original items that are replaced.
If is not Replace.
If or is null.
Initializes a new instance of the class that describes a multi-item change.
The action that caused the event. This can only be set to .
The new items that are replacing the original items.
The original items that are replaced.
The index of the first item of the items that are being replaced.
If is not Replace.
If or is null.
Initializes a new instance of the class that describes a multi-item change or a change.
The action that caused the event. This can be set to , , or .
The items affected by the change.
The index where the change occurred.
If is not Reset, Add, or Remove, if is Reset and either is not null or is not -1, or if action is Add or Remove and is less than -1.
If is Add or Remove and is null.
Initializes a new instance of the class that describes a multi-item change.
The action that caused the event. This can only be set to .
The items affected by the change.
The new index for the changed items.
The old index for the changed items.
If is not Move or is less than 0.
Initializes a new instance of the class that describes a one-item change.
The action that caused the event. This can be set to , , or .
The item that is affected by the change.
If is not Reset, Add, or Remove, or if is Reset and is not null.
Initializes a new instance of the class that describes a one-item change.
The action that caused the event. This can be set to , , or .
The item that is affected by the change.
The index where the change occurred.
If is not Reset, Add, or Remove, or if is Reset and either is not null or is not -1.
Initializes a new instance of the class that describes a one-item change.
The action that caused the event. This can only be set to .
The item affected by the change.
The new index for the changed item.
The old index for the changed item.
If is not Move or is less than 0.
Initializes a new instance of the class that describes a one-item change.
The action that caused the event. This can only be set to .
The new item that is replacing the original item.
The original item that is replaced.
If is not Replace.
Initializes a new instance of the class that describes a one-item change.
The action that caused the event. This can be set to .
The new item that is replacing the original item.
The original item that is replaced.
The index of the item being replaced.
If is not Replace.
Gets the action that caused the event.
A value that describes the action that caused the event.
Gets the list of new items involved in the change.
The list of new items involved in the change.
Gets the index at which the change occurred.
The zero-based index at which the change occurred.
Gets the list of items affected by a , Remove, or Move action.
The list of items affected by a , Remove, or Move action.
Gets the index at which a , Remove, or Replace action occurred.
The zero-based index at which a , Remove, or Replace action occurred.
Represents the method that handles the event.
The object that raised the event.
Information about the event.
Provides data for the event.
Initializes a new instance of the class.
The name of the property that has an error. null or if the error is object-level.
Gets the name of the property that has an error.
The name of the property that has an error. null or if the error is object-level.
Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.
Occurs when the validation errors have changed for a property or for the entire entity.
Gets the validation errors for a specified property or for the entire entity.
The validation errors for the property or entity.
The name of the property to retrieve validation errors for; or null or , to retrieve entity-level errors.
Gets a value that indicates whether the entity has validation errors.
true if the entity currently has validation errors; otherwise, false.
Notifies clients that a property value has changed.
Occurs when a property value changes.
Notifies clients that a property value is changing.
Occurs when a property value is changing.
Provides data for the event.
Initializes a new instance of the class.
The name of the property that changed.
Gets the name of the property that changed.
The name of the property that changed.
Represents the method that will handle the event raised when a property is changed on a component.
The source of the event.
A that contains the event data.
Provides data for the event.
Initializes a new instance of the class.
The name of the property whose value is changing.
Gets the name of the property whose value is changing.
The name of the property whose value is changing.
Represents the method that will handle the event of an interface.
The source of the event.
A that contains the event data.
Defines a command.
Defines the method that determines whether the command can execute in its current state.
true if this command can be executed; otherwise, false.
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Occurs when changes occur that affect whether or not the command should execute.
Defines the method to be called when the command is invoked.
Data used by the command. If the command does not require data to be passed, this object can be set to null.