ChangeTrackingModelCollection<(Of <(<'TModelType>)>)> Methods

The ChangeTrackingModelCollection<(Of <(<'TModelType>)>)> type exposes the following members.

Methods


  Name Description
Public method AcceptChanges
Marks all fields as unchanged and clears the IsChanged flag.
Public method Add(`0) (Inherited from Collection.)
Public method AddHandler(IListener<(Of <<'(NotifyCollectionChangedEventArgs>)>>))
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method AddHandler(IListener<(Of <<'(PropertyChangedEventArgs>)>>))
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method AddHandler(IListener<(Of <<'(RelayedEventArgs<(Of <<'(PropertyChangedEventArgs>)>>)>)>>))
Adds a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method AddRange
Adds a list of values to this collection
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method BlockReentrancy (Inherited from ObservableCollection.)
Protected method CheckReentrancy (Inherited from ObservableCollection.)
Public method Clear (Inherited from Collection.)
Public method ClearErrors
Clears the error collections and the HasErrors property
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method ClearItems
Removes all elements from the collection.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method Contains(`0) (Inherited from Collection.)
Public method CopyTo(`0[],System.Int32) (Inherited from Collection.)
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method Get<(Of <<'(TValue>)>>)
Fetches a value, returning Default(TValue) if it doesn't exist.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method GetAllErrors
Returns a collection of all errors (object and property level).
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method GetDefault<(Of <<'(TValue>)>>)
Fetches a value, using the default value it if it doesn't exist.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method GetEnumerator (Inherited from Collection.)
Public method GetErrors()()()()
Returns a collection of object-level errors.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method GetErrors(Nullable<(Of <<'(String>)>>))
Returns a collection of property-level errors.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method GetHashCode (Inherited from Object.)
Protected method GetNew(String)
Fetches a string value, returning String.Empty if it doesn't exist.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method GetNew<(Of <<'(TValue>)>>)(String)
Fetches a value, creating it if it doesn't exist.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method GetNew<(Of <<'(TValue>)>>)(Func<(Of <<'(TValue>)>>), String)
Fetches a value, creating it if it doesn't exist.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method GetType (Inherited from Object.)
Public method IndexOf(`0) (Inherited from Collection.)
Public method Insert(System.Int32,`0) (Inherited from Collection.)
Protected method InsertItem
Inserts an item into the collection at the specified index.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Move(System.Int32,System.Int32) (Inherited from ObservableCollection.)
Protected method MoveItem(System.Int32,System.Int32) (Inherited from ObservableCollection.)
Protected method OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs) (Inherited from ObservableCollection.)
Protected method OnErrorsChanged
Used to manually invoke the ErrorsChanged event.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method OnItemAdded
This fires after an item is removed from the collection no matter how it is removed.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method OnItemRemoved
This fires after an item is removed from the collection no matter how it is removed.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method OnPropertyChanged(String)
Raises the [ObservableCollection{T}.PropertyChanged] event with the provided arguments.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs) (Inherited from ObservableCollection.)
Protected method OnValidateObject
Override this method to add imperative validation at the object level.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method OnValidateProperty
Override this method to add imperative validation at the property level.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method RejectChanges
Discards all pending changes and reverts to the values used the last time AcceptChanges was called.
Public method Remove(`0) (Inherited from Collection.)
Public method RemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method RemoveAt(System.Int32) (Inherited from Collection.)
Public method RemoveHandler(IListener<(Of <<'(NotifyCollectionChangedEventArgs>)>>))
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method RemoveHandler(IListener<(Of <<'(PropertyChangedEventArgs>)>>))
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method RemoveHandler(IListener<(Of <<'(RelayedEventArgs<(Of <<'(PropertyChangedEventArgs>)>>)>)>>))
Removes a weak event handler
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method RemoveItem
Removes the element at the specified index of the [Collection{T}].
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method 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.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public method 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.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method 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.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Protected method SetItem
Replaces the element at the specified index.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Public method ToString (Inherited from Object.)
Public method Validate
This forces the object to be completely revalidated.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)