A generic constructor were both the path and the lsit of validation messages are passed in.
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)
Syntax
C# |
---|
public ValidationBuilder( string path, List<ValidationMessage> messages ) |
Visual Basic |
---|
Public Sub New ( _ path As String, _ messages As List(Of ValidationMessage) _ ) |
Visual C++ |
---|
public: ValidationBuilder( String^ path, List<ValidationMessage^>^ messages ) |
Parameters
- path
- Type: System..::..String
The path to the property that is being validated
- messages
- Type: System.Collections.Generic..::..List<(Of <(<'ValidationMessage>)>)>
The lsit of validation messages to date