NavigationLinkBuilder Constructor
Initializes a new instance of the NavigationLinkBuilder class.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Sub New ( _
navigationLinkFactory As Func(Of EntityInstanceContext, IEdmNavigationProperty, Uri), _
followsConventions As Boolean _
)
'Usage
Dim navigationLinkFactory As Func(Of EntityInstanceContext, IEdmNavigationProperty, Uri)
Dim followsConventions As Boolean
Dim instance As New NavigationLinkBuilder(navigationLinkFactory, _
followsConventions)
public NavigationLinkBuilder(
Func<EntityInstanceContext, IEdmNavigationProperty, Uri> navigationLinkFactory,
bool followsConventions
)
public:
NavigationLinkBuilder(
Func<EntityInstanceContext^, IEdmNavigationProperty^, Uri^>^ navigationLinkFactory,
bool followsConventions
)
new :
navigationLinkFactory:Func<EntityInstanceContext, IEdmNavigationProperty, Uri> *
followsConventions:bool -> NavigationLinkBuilder
public function NavigationLinkBuilder(
navigationLinkFactory : Func<EntityInstanceContext, IEdmNavigationProperty, Uri>,
followsConventions : boolean
)
Parameters
- navigationLinkFactory
Type: System.Func<EntityInstanceContext, IEdmNavigationProperty, Uri>
The navigation link factory for creating navigation links.
- followsConventions
Type: System.Boolean
Represents whether this factory follows OData conventions or not.