Udostępnij za pośrednictwem


OperationImportSegmentTemplate Klasa

Definicja

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

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

Konstruktory

OperationImportSegmentTemplate(OperationImportSegment)

Inicjuje nowe wystąpienie klasy OperationImportSegmentTemplate.

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 trasy.

Segment

Pobiera i ustawia segment importu operacji.

Metody

TryMatch(ODataPathSegment, IDictionary<String,Object>)

Pasuje do szablonu za pomocą elementu ODataPathSegment.

Dotyczy