Share via


OperationSegmentTemplate Class

Definition

Represents a template that can match a OperationSegment.

public class OperationSegmentTemplate : Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
type OperationSegmentTemplate = class
    inherit ODataPathSegmentTemplate
Public Class OperationSegmentTemplate
Inherits ODataPathSegmentTemplate
Inheritance
OperationSegmentTemplate

Constructors

OperationSegmentTemplate(OperationSegment)

Initializes a new instance of the OperationSegmentTemplate class.

Properties

ParameterMappings

Gets the dictionary representing the mappings from the parameter names in the current function segment to the parameter names in route data.

Segment

Gets or sets the operation segment.

Methods

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Matches the template with an ODataPathSegment.

Applies to