Concrete strongly typed implementation of the INavigationSet interface. Used, by default, for
as the return type for all nonscalar navigation properties.
Inheritance Hierarchy
System.Collections.ObjectModelCollectionT
System.Collections.ObjectModelKeyedCollectionT, T
Breeze.Sharp.CoreNotifiableCollectionT
Breeze.SharpNavigationSetT
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
public class NavigationSet<T> : NotifiableCollection<T>, INavigationSet, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged where T : IEntity
Type Parameters
- T
The NavigationSetT type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| NavigationSetT |
Ctor.
|
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 NotifiableCollectionTClearItems.) | |
| 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 | (Inherited from NotifiableCollectionT.) | |
| 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 NotifiableCollectionTInsertItem(Int32, T).) | |
| 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 NotifiableCollectionTRemoveItem(Int32).) | |
| SetItem | (Overrides NotifiableCollectionTSetItem(Int32, T).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| GetAggregateHashCode |
Returns a hashcode for a collection that
uses a similar algorithm to that used by the .NET Tuple class.
Order matters.
(Defined by EnumerableFns.) | |
| ToAggregateString |
Concatenates the string version of each element in a collection using the delimiter provided.
(Defined by EnumerableFns.) |
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.) | |
| NavigationProperty | ||
| ParentEntity |
Events
| Name | Description | |
|---|---|---|
| CollectionChanged |
Raised when the collection changes.
(Inherited from NotifiableCollectionT.) | |
| PropertyChanged |
Raised when a property value changes.
(Inherited from NotifiableCollectionT.) |
See Also