Click or drag to resize

BaseViewModel.GetPropertyErrors Method

Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.

Namespace:  BionicCode.Utilities.Net.Standard.ViewModel
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntax
public IEnumerable<string> GetPropertyErrors(
	string propertyName = null
)

Parameters

propertyName (Optional)
Type: System.String
The of the property of which the error messages should be returned.

Return Value

Type: IEnumerable<String>
Returns an IEnumerable<T> containing all error messages of the specified property.

Implements

IViewModel.GetPropertyErrors(String)
Remarks
If the propertyName is null all current error messages will be returned.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md