PropertySegmentTemplate.GetTemplates(ODataRouteOptions) Method
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.
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.
public override System.Collections.Generic.IEnumerable<string> GetTemplates (Microsoft.AspNetCore.OData.Routing.ODataRouteOptions options);
override this.GetTemplates : Microsoft.AspNetCore.OData.Routing.ODataRouteOptions -> seq<string>
Public Iterator Overrides Function GetTemplates (options As ODataRouteOptions) As IEnumerable(Of String)
Parameters
- options
- ODataRouteOptions
The route options.
Returns
The built segment templates.