Jaa


NavigationLinkTemplateSegmentTemplate Class

Definition

Represents a template that could match a $ref on a generic navigation segment.

public class NavigationLinkTemplateSegmentTemplate : Microsoft.AspNetCore.OData.Routing.Template.ODataSegmentTemplate
type NavigationLinkTemplateSegmentTemplate = class
    inherit ODataSegmentTemplate
Public Class NavigationLinkTemplateSegmentTemplate
Inherits ODataSegmentTemplate
Inheritance
NavigationLinkTemplateSegmentTemplate

Constructors

NavigationLinkTemplateSegmentTemplate(IEdmStructuredType, IEdmNavigationSource)

Initializes a new instance of the NavigationLinkTemplateSegmentTemplate class.

Properties

DeclaringType

Gets the declaring type for this property template.

NavigationSource

Gets the navigation source.

RelatedKey

Gets the related key mapping.

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