ActionLinkBuilder Class
ActionLinkBuilder can be used to annotate an Action. This is how formatters create links to invoke bound actions.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.ActionLinkBuilder
Syntax
public class ActionLinkBuilder
public ref class ActionLinkBuilder
type ActionLinkBuilder = class end
Public Class ActionLinkBuilder
Constructors
Name | Description | |
---|---|---|
ActionLinkBuilder(Func<EntityInstanceContext, Uri>, Boolean) | Create a new ActionLinkBuilder based on an actionLinkFactory. RemarksIf the action is not available the actionLinkFactory delegate should return NULL. |
Properties
Name | Description | |
---|---|---|
FollowsConventions | Gets a boolean indicating whether the link factory follows OData conventions or not. |
Methods
Name | Description | |
---|---|---|
BuildActionLink(EntityInstanceContext) | Builds the action link for the given entity. |
|
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. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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.Http.OData.Builder Namespace
Return to top