KeySegmentTemplate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a template that can match a KeySegment.
public class KeySegmentTemplate : Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
type KeySegmentTemplate = class
inherit ODataPathSegmentTemplate
Public Class KeySegmentTemplate
Inherits ODataPathSegmentTemplate
- Inheritance
Constructors
KeySegmentTemplate(KeySegment) |
Initializes a new instance of the KeySegmentTemplate class. |
Properties
ParameterMappings |
Gets the dictionary representing the mappings from the key names in the segment to the key names in route data. |
Segment |
Gets or sets the key segment. |
Methods
TryMatch(ODataPathSegment, IDictionary<String,Object>) |
Matches the template with an ODataPathSegment. |