Share via


ActionLinkBuilder Class

ActionLinkBuilder can be used to annotate an Action. This is how formatters create links to invoke bound actions.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.ActionLinkBuilder

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Class ActionLinkBuilder
'Usage
Dim instance As ActionLinkBuilder
public class ActionLinkBuilder
public ref class ActionLinkBuilder
type ActionLinkBuilder =  class end
public class ActionLinkBuilder

The ActionLinkBuilder type exposes the following members.

Constructors

  Name Description
Public method ActionLinkBuilder Create a new ActionLinkBuilder based on an actionLinkFactory.

Top

Properties

  Name Description
Public property FollowsConventions Gets a boolean indicating whether the link factory follows OData conventions or not.

Top

Methods

  Name Description
Public method BuildActionLink Builds the action link for the given entity.
Public methodStatic member CreateActionLinkFactory Creates an action link factory that builds an action link, but only when appropriate based on the expensiveAvailabilityCheck, and whether expensive checks should be made, which is deduced by looking at the EntityInstanceContext.SkipExpensiveActionAvailabilityChecks property.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData.Builder Namespace