Share via


ActionLinkBuilder Class

 

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

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

Inheritance Hierarchy

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

Syntax

public class ActionLinkBuilder
public ref class ActionLinkBuilder 
type ActionLinkBuilder = class end
Public Class ActionLinkBuilder

Constructors

Name Description
System_CAPS_pubmethod ActionLinkBuilder(Func<EntityInstanceContext, Uri>, Boolean)

Create a new ActionLinkBuilder based on an actionLinkFactory.

Properties

Name Description
System_CAPS_pubproperty FollowsConventions

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

Methods

Name Description
System_CAPS_pubmethod BuildActionLink(EntityInstanceContext)

Builds the action link for the given entity.

System_CAPS_pubmethodSystem_CAPS_static CreateActionLinkFactory(Func<EntityInstanceContext, Uri>, Func<EntityInstanceContext, Boolean>)

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.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.OData.Builder Namespace

Return to top