Share via


NavigationLinkBuilder Constructor

Definition

Initializes a new instance of the NavigationLinkBuilder class.

public NavigationLinkBuilder (Func<Microsoft.AspNet.OData.ResourceContext,Microsoft.OData.Edm.IEdmNavigationProperty,Uri> navigationLinkFactory, bool followsConventions);
new Microsoft.AspNet.OData.Builder.NavigationLinkBuilder : Func<Microsoft.AspNet.OData.ResourceContext, Microsoft.OData.Edm.IEdmNavigationProperty, Uri> * bool -> Microsoft.AspNet.OData.Builder.NavigationLinkBuilder
Public Sub New (navigationLinkFactory As Func(Of ResourceContext, IEdmNavigationProperty, Uri), followsConventions As Boolean)

Parameters

navigationLinkFactory
Func<ResourceContext,IEdmNavigationProperty,Uri>

The navigation link factory for creating navigation links.

followsConventions
Boolean

Represents whether this factory follows OData conventions or not.

Applies to