Share via


IUriLiteralParser Interface

Definition

Interface for Uri literal parser. To parse the uri of an OData request into objects, the ODataUriParser uses UriLiteralParses. Implementation of this interface will parse a text of an EdmType to it's instance.

public interface IUriLiteralParser
type IUriLiteralParser = interface
Public Interface IUriLiteralParser
Derived

Methods

ParseUriStringToType(String, IEdmTypeReference, UriLiteralParsingException)

Parse the given text of EdmType targetType to it's object instance. Return 'Null' if the text could not be parsed to the requested targetType. Assign parsingException parameter only in case the text could be parsed to the requested targetType, but failed during the parsing process.

Applies to