Share via


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

  • followsConventions
    Type: System.Boolean
    Represents whether this factory follows OData conventions or not.

See Also

Reference

NavigationLinkBuilder Class

System.Web.Http.OData.Builder Namespace