ModelCollection<(Of <(<'T>)>)> Methods

The ModelCollection<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method Add(`0)
Adds an object to the end of the Collection.
(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
Removes all elements from the Collection.
(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)
Determines whether an element is in the Collection.
(Inherited from Collection.)
Public method 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.)
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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
Returns an enumerator that iterates through the Collection.
(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
Serves as the default hash function.
(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
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf(`0)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection.
(Inherited from Collection.)
Public method Insert(System.Int32,`0)
Inserts an element into the Collection at the specified index.
(Inherited from Collection.)
Protected method InsertItem
Inserts an item into the collection at the specified index.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(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 Remove(`0)
Removes the first occurrence of a specific object from the Collection.
(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)
Removes the element at the specified index of the Collection.
(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
Returns a string that represents the current object.
(Inherited from Object.)
Public method Validate
This forces the object to be completely revalidated.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)