Click or drag to resize

BaseViewModel Methods

The BaseViewModel type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetErrors
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPropertyErrors
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsValueValid<TValue>
Can be used to check whether a value is valid.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnErrorsChanged
Raised when the validation state of the view model has changed (e.g. error added or removed).
Protected methodOnPropertyChanged
Method called to fire a PropertyChanged event. Also raises the PropertyChanged event to support binding.
Public methodPropertyHasError
Checks whether the specified property has errors or is valid.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTrySetValue<TValue>(TValue, TValue, String)
Generic property setter. Sets the value of any property of the extending view model by passing in a the corresponding property backing field. Automatically raises the PropertyChanged event for this property.
Protected methodTrySetValue<TValue>(TValue, Func<TValue, ValueTuple<Boolean, IEnumerable<String>>>, TValue, String, Boolean, Boolean)
Sets the value of the referenced property and executes a validation delegate.
Top
Extension Methods
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md