ODataUrlValidator(IEdmModel, ODataUrlValidationRuleSet) Constructor
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.
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
The rules to use in validating a URL