Udostępnij za pośrednictwem


OperationSegmentTemplate Klasa

Definicja

Reprezentuje szablon, który może być zgodny z elementem OperationSegment.

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

Konstruktory

OperationSegmentTemplate(OperationSegment)

Inicjuje nowe wystąpienie klasy OperationSegmentTemplate.

Właściwości

ParameterMappings

Pobiera słownik reprezentujący mapowania z nazw parametrów w bieżącym segmencie funkcji do nazw parametrów w danych tras.

Segment

Pobiera lub ustawia segment operacji.

Metody

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Pasuje do szablonu z elementem ODataPathSegment.

Dotyczy