ValidationRule<TItem> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
ValidationRule<TItem>(Action<ValidationContext,TItem>) |
Initializes a new instance of the ValidationRule class. |