ActionConfiguration.HasActionLink Method (Func<EntityInstanceContext, Uri>, Boolean)
Register a factory that creates actions links.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public ActionConfiguration HasActionLink(
Func<EntityInstanceContext, Uri> actionLinkFactory,
bool followsConventions
)
public:
ActionConfiguration^ HasActionLink(
Func<EntityInstanceContext^, Uri^>^ actionLinkFactory,
bool followsConventions
)
member HasActionLink :
actionLinkFactory:Func<EntityInstanceContext, Uri> *
followsConventions:bool -> ActionConfiguration
Public Function HasActionLink (
actionLinkFactory As Func(Of EntityInstanceContext, Uri),
followsConventions As Boolean
) As ActionConfiguration
Parameters
actionLinkFactory
Type: System.Func<EntityInstanceContext, Uri>The actionLinkFactory this ActionLinkBuilder should use when building links.
followsConventions
Type: System.BooleanA value indicating whether the action link factory generates links that follow OData conventions.
Return Value
Type: System.Web.OData.Builder.ActionConfiguration
A factory that crates actions links.
See Also
ActionConfiguration Class
System.Web.OData.Builder Namespace
Return to top