FunctionSegmentTemplate Constructors
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.
Overloads
FunctionSegmentTemplate(OperationSegment) |
Initializes a new instance of the FunctionSegmentTemplate class. |
FunctionSegmentTemplate(IEdmFunction, IEdmNavigationSource) |
Initializes a new instance of the FunctionSegmentTemplate class. |
FunctionSegmentTemplate(IDictionary<String,String>, IEdmFunction, IEdmNavigationSource) |
Initializes a new instance of the FunctionSegmentTemplate class. |
FunctionSegmentTemplate(OperationSegment)
Initializes a new instance of the FunctionSegmentTemplate class.
public FunctionSegmentTemplate (Microsoft.OData.UriParser.OperationSegment operationSegment);
new Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate : Microsoft.OData.UriParser.OperationSegment -> Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate
Public Sub New (operationSegment As OperationSegment)
Parameters
- operationSegment
- OperationSegment
The operation segment, it should be a function segment and the parameters are template.
Applies to
FunctionSegmentTemplate(IEdmFunction, IEdmNavigationSource)
Initializes a new instance of the FunctionSegmentTemplate class.
public FunctionSegmentTemplate (Microsoft.OData.Edm.IEdmFunction function, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate : Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate
Public Sub New (function As IEdmFunction, navigationSource As IEdmNavigationSource)
Parameters
- function
- IEdmFunction
The Edm function, it should be bound function.
- navigationSource
- IEdmNavigationSource
The Edm navigation source of this function return. It could be null.
Applies to
FunctionSegmentTemplate(IDictionary<String,String>, IEdmFunction, IEdmNavigationSource)
Initializes a new instance of the FunctionSegmentTemplate class.
public FunctionSegmentTemplate (System.Collections.Generic.IDictionary<string,string> parameters, Microsoft.OData.Edm.IEdmFunction function, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate : System.Collections.Generic.IDictionary<string, string> * Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.AspNetCore.OData.Routing.Template.FunctionSegmentTemplate
Public Sub New (parameters As IDictionary(Of String, String), function As IEdmFunction, navigationSource As IEdmNavigationSource)
Parameters
- parameters
- IDictionary<String,String>
The function parameter template mappings.The key string is case-sensitive, the value string should wrapper with { and }.
- function
- IEdmFunction
The Edm function, it should be bound function.
- navigationSource
- IEdmNavigationSource
The Edm navigation source of this function return. It could be null.