AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)> Members
The AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>()()()() |
Creates a model by auto-constructing the property bag defined by TPropertyTracking.
|
![]() |
AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>(List<(Of <<'(T>)>>)) |
Creates a model by auto-constructing the property bag defined by TPropertyTracking and populates it using the supplied list
|
![]() |
AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>(IEnumerable<(Of <<'(T>)>>)) |
Creates a model by auto-constructing the property bag defined by TPropertyTracking and populates it using the supplied collection
|
Methods
Name | Description | |
---|---|---|
![]() |
Add(`0) |
Adds an object to the end of the Collection. (Inherited from Collection.) |
![]() |
AddHandler(IListener<(Of <<'(NotifyCollectionChangedEventArgs>)>>)) |
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
AddHandler(IListener<(Of <<'(PropertyChangedEventArgs>)>>)) |
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
AddHandler(IListener<(Of <<'(RelayedEventArgs<(Of <<'(PropertyChangedEventArgs>)>>)>)>>)) |
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
AddRange |
Adds a list of values to this collection
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
BlockReentrancy | (Inherited from ObservableCollection.) |
![]() |
CheckReentrancy | (Inherited from ObservableCollection.) |
![]() |
Clear |
Removes all elements from the Collection. (Inherited from Collection.) |
![]() |
ClearErrors |
Clears the error collections and the HasErrors property
|
![]() |
ClearItems |
Removes all elements from the collection.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
Contains(`0) |
Determines whether an element is in the Collection. (Inherited from Collection.) |
![]() |
CopyTo(`0[],System.Int32) |
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection.) |
![]() |
Equals(System.Object) |
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.) |
![]() |
Get<(Of <<'(TValue>)>>) |
Fetches a value, returning Default(TValue) if it doesn't exist.
|
![]() |
GetAllErrors |
Returns a collection of all errors (object and property level).
|
![]() |
GetDefault<(Of <<'(TValue>)>>) |
Fetches a value, using the default value it if it doesn't exist.
|
![]() |
GetEnumerator |
Returns an enumerator that iterates through the Collection. (Inherited from Collection.) |
![]() |
GetErrors()()()() |
Returns a collection of object-level errors.
|
![]() |
GetErrors(Nullable<(Of <<'(String>)>>)) |
Returns a collection of property-level errors.
|
![]() |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
![]() |
GetNew(String) |
Fetches a string value, returning String.Empty if it doesn't exist.
|
![]() |
GetNew<(Of <<'(TValue>)>>)(String) |
Fetches a value, creating it if it doesn't exist.
|
![]() |
GetNew<(Of <<'(TValue>)>>)(Func<(Of <<'(TValue>)>>), String) |
Fetches a value, creating it if it doesn't exist.
|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IndexOf(`0) |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from Collection.) |
![]() |
Insert(System.Int32,`0) |
Inserts an element into the Collection at the specified index. (Inherited from Collection.) |
![]() |
InsertItem |
Inserts an item into the collection at the specified index.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Move(System.Int32,System.Int32) | (Inherited from ObservableCollection.) |
![]() |
MoveItem(System.Int32,System.Int32) | (Inherited from ObservableCollection.) |
![]() |
OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs) | (Inherited from ObservableCollection.) |
![]() |
OnErrorsChanged(String) |
Used to manually invoke the ErrorsChanged event.
|
![]() |
OnItemAdded |
This fires after an item is removed from the collection no matter how it is removed.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
OnItemRemoved |
This fires after an item is removed from the collection no matter how it is removed.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
OnPropertyChanged(String) |
Raises the [ObservableCollection{T}.PropertyChanged] event with the provided arguments.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs) | (Inherited from ObservableCollection.) |
![]() |
OnValidateObject |
Override this method to add imperative validation at the object level.
|
![]() |
OnValidateProperty |
Override this method to add imperative validation at the property level.
|
![]() |
Remove(`0) |
Removes the first occurrence of a specific object from the Collection. (Inherited from Collection.) |
![]() |
RemoveAll |
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
RemoveAt(System.Int32) |
Removes the element at the specified index of the Collection. (Inherited from Collection.) |
![]() |
RemoveHandler(IListener<(Of <<'(NotifyCollectionChangedEventArgs>)>>)) |
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
RemoveHandler(IListener<(Of <<'(PropertyChangedEventArgs>)>>)) |
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
RemoveHandler(IListener<(Of <<'(RelayedEventArgs<(Of <<'(PropertyChangedEventArgs>)>>)>)>>)) |
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
RemoveItem |
Removes the element at the specified index of the [Collection{T}].
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
Set(Object, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
|
![]() |
Set<(Of <<'(TValue>)>>)(TValue, PropertyChangedEventHandler, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
|
![]() |
Set<(Of <<'(TValue>)>>)(TValue, NotifyCollectionChangedEventHandler, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
|
![]() |
SetItem |
Replaces the element at the specified index.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Validate |
This forces the object to be completely revalidated.
|
Properties
Name | Description | |
---|---|---|
![]() |
Count |
Gets the number of elements actually contained in the Collection. (Inherited from Collection.) |
![]() |
HasErrors |
Returns True if there are any errors.
|
![]() |
Item(System.Int32) |
Gets or sets the element at the specified index. (Inherited from Collection.) |
![]() |
Items |
Gets a IList wrapper around the Collection. (Inherited from Collection.) |
![]() |
Properties |
Returns the underlying property bag
|
![]() |
ReadOnlyWrapper |
Returns a read-only wrapper around this collection.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
Events
Name | Description | |
---|---|---|
![]() |
CollectionChanged | (Inherited from ObservableCollection.) |
![]() |
ErrorsChanged |
Raised when the the errors collection has changed.
|
![]() |
ItemAdded |
This type safe event fires after an item is added to the collection no matter how it is added.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
ItemPropertyChanged |
Use this event to listen for changes to properties on items contained by this collection without having to explicitly attach an event handler to each item.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
ItemRemoved |
This type safe event fires after an item is removed from the collection no matter how it is removed.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |
![]() |
PropertyChanged |
This just exposes the INotifyPropertyChanged.PropertyChanged from the base class so you don't have to cast to get to it.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.) |