Share via


ODataUrlValidator(IEdmModel, ODataUrlValidationRuleSet) Constructor

Definition

Validates urls based on a provided model and collection of rules

public ODataUrlValidator (Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.UriParser.Validation.ODataUrlValidationRuleSet rules);
new Microsoft.OData.UriParser.Validation.ODataUrlValidator : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.UriParser.Validation.ODataUrlValidationRuleSet -> Microsoft.OData.UriParser.Validation.ODataUrlValidator
Public Sub New (model As IEdmModel, rules As ODataUrlValidationRuleSet)

Parameters

model
IEdmModel

The model to validate a URL against

rules
ODataUrlValidationRuleSet

The rules to use in validating a URL

Applies to