Jaa


ActionImportSegmentTemplate Class

Definition

Represents a template that could match an IEdmActionImport.

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

Constructors

ActionImportSegmentTemplate(IEdmActionImport, IEdmNavigationSource)

Initializes a new instance of the ActionImportSegmentTemplate class.

ActionImportSegmentTemplate(OperationImportSegment)

Initializes a new instance of the ActionImportSegmentTemplate class.

Properties

ActionImport

Gets the wrapped action import.

Segment

Gets the action import segment.

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