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

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

Constructors


  Name Description
Protected method ModelCollection<(Of <(<'T>)>)>()()()()
Creates a model collection using the default property bag implementation..
Protected method ModelCollection<(Of <(<'T>)>)>(List<(Of <<'(T>)>>))
Creates a model collection using the default property bag implementation..
Protected method ModelCollection<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>))
Creates a model collection using the default property bag implementation..

Methods


  Name Description
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 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>)>)>.)

Properties


  Name Description
Public property Count (Inherited from Collection.)
Public property HasErrors
Returns True if there are any errors.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public property Item(System.Int32) (Inherited from Collection.)
Protected property Items (Inherited from Collection.)
Protected property Properties
Returns the underlying property bag
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public property ReadOnlyWrapper
Returns a read-only wrapper around this collection.
(Inherited from ObservableCollectionExtended<(Of <(<'T>)>)>.)

Events


  Name Description
Public event CollectionChanged (Inherited from ObservableCollection.)
Public event ErrorsChanged
Raised when the the errors collection has changed.
(Inherited from AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>.)
Public event 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>)>)>.)
Public event 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>)>)>.)
Public event 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>)>)>.)
Public event 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>)>)>.)