SelfLinkBuilder<T>(Func<ResourceContext,T>, Boolean) 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.
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.