ValidationRule<TItem> Constructor

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Sub New ( _
    validate As Action(Of ValidationContext, TItem) _
)
'Usage
Dim validate As Action(Of ValidationContext, TItem)

Dim instance As New ValidationRule(validate)
public ValidationRule(
    Action<ValidationContext, TItem> validate
)
public:
ValidationRule(
    Action<ValidationContext^, TItem>^ validate
)
new : 
        validate:Action<ValidationContext, 'TItem> -> ValidationRule
public function ValidationRule(
    validate : Action<ValidationContext, TItem>
)

Parameters

See Also

Reference

ValidationRule<TItem> Class

Microsoft.Data.Edm.Validation Namespace