Jaa


ODataSegmentTemplate Class

Definition

Base class for OData segment template

public abstract class ODataSegmentTemplate
type ODataSegmentTemplate = class
Public MustInherit Class ODataSegmentTemplate
Inheritance
ODataSegmentTemplate
Derived

Constructors

ODataSegmentTemplate()

Methods

GetTemplates(ODataRouteOptions)

Gets the templates. It's case-insensitive template. It's used to build the routing template in conventional routing. It's not used in attribute routing. The template string should include the leading "/" if apply.

TryTranslate(ODataTemplateTranslateContext)

Translate the template into a real OData path segment ODataPathSegment

Applies to