AbstractModelBase Members
The AbstractModelBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
AbstractModelBase |
Initializes a new instance of the AbstractModelBase class.
|
Methods
Name | Description | |
---|---|---|
![]() |
AddHandler |
Adds a weak event handler.
|
![]() |
ClearErrors |
Clears the error collections and the HasErrors property
|
![]() |
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.) |
![]() |
GetAllErrors |
Returns a collection of all errors (object and property level).
|
![]() |
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.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnErrorsChanged(String) |
Used to manually invoke the ErrorsChanged event.
|
![]() |
OnValidateObject |
Override this method to add imperative validation at the object level.
|
![]() |
OnValidateProperty |
Override this method to add imperative validation at the property level.
|
![]() |
RemoveHandler |
Removes a weak event handler.
|
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Validate |
This forces the object to be completely revalidated.
|
Events
Name | Description | |
---|---|---|
![]() |
ErrorsChanged |
Raised when the errors collection has changed.
|
![]() |
PropertyChanged |
Occurs when a property value changes.
|