NavigationLinkBuilder Constructor
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.
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.