Compartilhar via


ActionConfiguration.HasActionLink Method (Func<EntityInstanceContext, Uri>, Boolean)

 

Register a factory that creates actions links.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.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

Return Value

Type: System.Web.Http.OData.Builder.ActionConfiguration

See Also

ActionConfiguration Class
System.Web.Http.OData.Builder Namespace

Return to top