OperationLinkBuilder Class
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.
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. |