Click or drag to resize

IViewModelGetPropertyErrors 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.3
Syntax
IEnumerable<string> GetPropertyErrors(
	string propertyName = null
)

Parameters

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

Return Value

Type: IEnumerableString
Returns an IEnumerableT containing all error messages of the specified property.
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