Partager via


ActionConfiguration.HasActionLink Méthode

Définition

Inscrire une fabrique qui crée des liens d'actions.

public Microsoft.AspNet.OData.Builder.ActionConfiguration HasActionLink (Func<Microsoft.AspNet.OData.ResourceContext,Uri> actionLinkFactory, bool followsConventions);
member this.HasActionLink : Func<Microsoft.AspNet.OData.ResourceContext, Uri> * bool -> Microsoft.AspNet.OData.Builder.ActionConfiguration
Public Function HasActionLink (actionLinkFactory As Func(Of ResourceContext, Uri), followsConventions As Boolean) As ActionConfiguration

Paramètres

actionLinkFactory
Func<ResourceContext,Uri>
followsConventions
Boolean

Retours

S’applique à