Share via


ODataUrlValidationRule<T> Class

Definition

Rule for validating all elements of an ODataUrl of a particular type.

public sealed class ODataUrlValidationRule<T> : Microsoft.OData.UriParser.Validation.ODataUrlValidationRule where T : class
type ODataUrlValidationRule<'T (requires 'T : null)> = class
    inherit ODataUrlValidationRule
Public NotInheritable Class ODataUrlValidationRule(Of T)
Inherits ODataUrlValidationRule

Type Parameters

T

The type of OData Url element that the rule validates.

Inheritance
ODataUrlValidationRule<T>

Constructors

ODataUrlValidationRule<T>(String, Action<ODataUrlValidationContext,T>, Boolean)

Constructs an instance of an ODataValdiationRule of a particular type.

ODataUrlValidationRule<T>(String, Action<ODataUrlValidationContext,T>)

Constructs an instance of an ODataValdiationRule of a particular type.

Properties

IncludeImpliedProperties

True if rule should include implicitly selected properties (i.e., in the absence of a $select)

(Inherited from ODataUrlValidationRule)
RuleName

Name of the rule.

(Inherited from ODataUrlValidationRule)

Applies to