Represents an observable set of unique values.
Inheritance Hierarchy
System.Collections.ObjectModelCollectionT
System.Collections.ObjectModelKeyedCollectionT, T
Breeze.Sharp.CoreNotifiableCollectionT
Breeze.SharpNavigationSetT
Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
public class NotifiableCollection<T> : KeyedCollection<T, T>, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable
Type Parameters
- T
- The type of elements in the hash set.
The NotifiableCollectionT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NotifiableCollectionT |
Initializes a new instance of the [!:ObservableHashSet<T>] class.
| |
NotifiableCollectionT(IEnumerableT) |
Initializes a new instance of the [!:ObservableHashSet<T>] class.
| |
NotifiableCollectionT(IEqualityComparerT) |
Initializes a new instance of the [!:ObservableHashSet<T>] class.
| |
NotifiableCollectionT(IEnumerableT, IEqualityComparerT) |
Initializes a new instance of the [!:ObservableHashSet<T>] class.
|
Methods
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionT.) | |
ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollectionT, T.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionT.) | |
ClearItems | (Overrides KeyedCollectionTKey, TItemClearItems.) | |
Contains | Determines whether the collection contains an element with the specified key. (Inherited from KeyedCollectionT, T.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionT.) | |
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 that iterates through the CollectionT. (Inherited from CollectionT.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKeyForItem | (Overrides KeyedCollectionTKey, TItemGetKeyForItem(TItem).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionT.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionT.) | |
InsertItem | (Overrides KeyedCollectionTKey, TItemInsertItem(Int32, TItem).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the element with the specified key from the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionT, T.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionT.) | |
RemoveItem | (Overrides KeyedCollectionTKey, TItemRemoveItem(Int32).) | |
SetItem | (Overrides KeyedCollectionTKey, TItemSetItem(Int32, TItem).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from KeyedCollectionT, T.) | |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionT.) | |
Dictionary | Gets the lookup dictionary of the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionT, T.) | |
ItemTKey | Gets the element with the specified key. (Inherited from KeyedCollectionT, T.) | |
ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionT.) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionT.) |
Events
Name | Description | |
---|---|---|
CollectionChanged |
Raised when the collection changes.
| |
PropertyChanged |
Raised when a property value changes.
|
See Also