Sdílet prostřednictvím


OperationSegmentTemplate Třída

Definice

Představuje šablonu, která může odpovídat objektu OperationSegment.

public class OperationSegmentTemplate : Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
type OperationSegmentTemplate = class
    inherit ODataPathSegmentTemplate
Public Class OperationSegmentTemplate
Inherits ODataPathSegmentTemplate
Dědičnost
OperationSegmentTemplate

Konstruktory

OperationSegmentTemplate(OperationSegment)

Inicializuje novou instanci OperationSegmentTemplate třídy .

Vlastnosti

ParameterMappings

Získá slovník představující mapování z názvů parametrů v aktuálním segmentu funkce na názvy parametrů v datech trasy.

Segment

Získá nebo nastaví segment operace.

Metody

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Odpovídá šabloně s .ODataPathSegment

Platí pro