Share via


OperationLinkBuilder Constructors

Definition

Overloads

OperationLinkBuilder(Func<ResourceContext,Uri>, Boolean)

Create a new OperationLinkBuilder based on an entity link factory.

OperationLinkBuilder(Func<ResourceSetContext,Uri>, Boolean)

Create a new OperationLinkBuilder based on a feed link factory.

OperationLinkBuilder(Func<ResourceContext,Uri>, Boolean)

Create a new OperationLinkBuilder based on an entity link factory.

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

Parameters

linkFactory
Func<ResourceContext,Uri>

The link factory this OperationLinkBuilder should use when building links.

followsConventions
Boolean

A value indicating whether the link factory generates links that follow OData conventions.

Applies to

OperationLinkBuilder(Func<ResourceSetContext,Uri>, Boolean)

Create a new OperationLinkBuilder based on a feed link factory.

public OperationLinkBuilder (Func<Microsoft.AspNet.OData.ResourceSetContext,Uri> linkFactory, bool followsConventions);
new Microsoft.AspNet.OData.Builder.OperationLinkBuilder : Func<Microsoft.AspNet.OData.ResourceSetContext, Uri> * bool -> Microsoft.AspNet.OData.Builder.OperationLinkBuilder
Public Sub New (linkFactory As Func(Of ResourceSetContext, Uri), followsConventions As Boolean)

Parameters

linkFactory
Func<ResourceSetContext,Uri>

The link factory this OperationLinkBuilder should use when building links.

followsConventions
Boolean

A value indicating whether the action link factory generates links that follow OData conventions.

Applies to