Jaa


ValidationRule<TItem> Class

Definition

A validation rule that is valid for a specific type.

public sealed class ValidationRule<TItem> : Microsoft.OData.Edm.Validation.ValidationRule where TItem : IEdmElement
type ValidationRule<'Item (requires 'Item :> IEdmElement)> = class
    inherit ValidationRule
Public NotInheritable Class ValidationRule(Of TItem)
Inherits ValidationRule

Type Parameters

TItem

Type that the rule is valid for.

Inheritance
ValidationRule<TItem>

Constructors

ValidationRule<TItem>(Action<ValidationContext,TItem>)

Initializes a new instance of the ValidationRule class.

Applies to