CastSegmentTemplate 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
CastSegmentTemplate(TypeSegment) |
Initializes a new instance of the CastSegmentTemplate class. |
CastSegmentTemplate(IEdmType, IEdmType, IEdmNavigationSource) |
Initializes a new instance of the CastSegmentTemplate class. |
CastSegmentTemplate(TypeSegment)
Initializes a new instance of the CastSegmentTemplate class.
public CastSegmentTemplate (Microsoft.OData.UriParser.TypeSegment typeSegment);
new Microsoft.AspNetCore.OData.Routing.Template.CastSegmentTemplate : Microsoft.OData.UriParser.TypeSegment -> Microsoft.AspNetCore.OData.Routing.Template.CastSegmentTemplate
Public Sub New (typeSegment As TypeSegment)
Parameters
- typeSegment
- TypeSegment
The type segment.
Applies to
CastSegmentTemplate(IEdmType, IEdmType, IEdmNavigationSource)
Initializes a new instance of the CastSegmentTemplate class.
public CastSegmentTemplate (Microsoft.OData.Edm.IEdmType castType, Microsoft.OData.Edm.IEdmType expectedType, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.AspNetCore.OData.Routing.Template.CastSegmentTemplate : Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.AspNetCore.OData.Routing.Template.CastSegmentTemplate
Public Sub New (castType As IEdmType, expectedType As IEdmType, navigationSource As IEdmNavigationSource)
Parameters
- castType
- IEdmType
The cast Edm type.
- expectedType
- IEdmType
The expected Edm type.
- navigationSource
- IEdmNavigationSource
The target navigation source. it could be null.