ODataPathSegmentTranslator Constructor (IEdmModel, Boolean, IDictionary<String, SingleValueNode>)
Initializes a new instance of the ODataPathSegmentTranslator class.
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public ODataPathSegmentTranslator(
IEdmModel model,
bool enableUriTemplateParsing,
IDictionary<string, SingleValueNode> parameterAliasNodes
)
public:
ODataPathSegmentTranslator(
IEdmModel^ model,
bool enableUriTemplateParsing,
IDictionary<String^, SingleValueNode^>^ parameterAliasNodes
)
new :
model:IEdmModel *
enableUriTemplateParsing:bool *
parameterAliasNodes:IDictionary<string, SingleValueNode> -> ODataPathSegmentTranslator
Public Sub New (
model As IEdmModel,
enableUriTemplateParsing As Boolean,
parameterAliasNodes As IDictionary(Of String, SingleValueNode)
)
Parameters
model
Type: Microsoft.OData.Edm.IEdmModelThe model used to parse the path.
enableUriTemplateParsing
Type: System.BooleanSpecifies parsing path template or not.
parameterAliasNodes
Type: System.Collections.Generic.IDictionary<String, SingleValueNode>The parameter alias nodes info.
See Also
ODataPathSegmentTranslator Class
System.Web.OData.Routing Namespace
Return to top