Share via


SelfLinkBuilder<T>(Func<ResourceContext,T>, Boolean) Constructor

Definition

Constructs a new instance of SelfLinkBuilder<T>.

public SelfLinkBuilder (Func<Microsoft.AspNet.OData.ResourceContext,T> linkFactory, bool followsConventions);
new Microsoft.AspNet.OData.Builder.SelfLinkBuilder<'T> : Func<Microsoft.AspNet.OData.ResourceContext, 'T> * bool -> Microsoft.AspNet.OData.Builder.SelfLinkBuilder<'T>
Public Sub New (linkFactory As Func(Of ResourceContext, T), followsConventions As Boolean)

Parameters

linkFactory
Func<ResourceContext,T>

The link factory.

followsConventions
Boolean

Whether the factory follows odata conventions for link generation.

Applies to