FunctionSegmentTemplate 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 could match a bound IEdmFunction.
public class FunctionSegmentTemplate : Microsoft.AspNetCore.OData.Routing.Template.ODataSegmentTemplate
type FunctionSegmentTemplate = class
inherit ODataSegmentTemplate
Public Class FunctionSegmentTemplate
Inherits ODataSegmentTemplate
- Inheritance
Constructors
FunctionSegmentTemplate(IDictionary<String,String>, IEdmFunction, IEdmNavigationSource) |
Initializes a new instance of the FunctionSegmentTemplate class. |
FunctionSegmentTemplate(IEdmFunction, IEdmNavigationSource) |
Initializes a new instance of the FunctionSegmentTemplate class. |
FunctionSegmentTemplate(OperationSegment) |
Initializes a new instance of the FunctionSegmentTemplate class. |
Properties
Function |
Gets the wrapped Edm function. |
NavigationSource |
Gets the wrapped navigation source. |
ParameterMappings |
Gets the dictionary representing the mappings from the parameter names in the current function segment to the parameter names in route data. |
Methods
GetTemplates(ODataRouteOptions) |
Gets the templates. It's case-insensitive template. It's used to build the routing template in conventional routing. It's not used in attribute routing. The template string should include the leading "/" if apply. |
TryTranslate(ODataTemplateTranslateContext) |
Translate the template into a real OData path segment ODataPathSegment |