Share via


OperationLinkBuilder Class

Definition

OperationLinkBuilder can be used to annotate an action or a function. This is how formatters create links to invoke bound actions or functions.

public class OperationLinkBuilder
type OperationLinkBuilder = class
Public Class OperationLinkBuilder
Inheritance
OperationLinkBuilder

Constructors

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.

Properties

FollowsConventions

Gets a Boolean indicating whether the link factory follows OData conventions or not.

Methods

BuildLink(ResourceContext)

Builds the operation link for the given resource.

BuildLink(ResourceSetContext)

Builds the operation link for the given feed.

Applies to