Partager via


ODataPathParameterBindingAttribute Classe

Définition

Implémentation de System.Web.Http.ParameterBindingAttribute utilisé pour lier un instance de ODataPath en tant que paramètre d’action.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class ODataPathParameterBindingAttribute : System.Web.Http.ParameterBindingAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class ODataPathParameterBindingAttribute : Microsoft.AspNetCore.Mvc.ModelBinderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type ODataPathParameterBindingAttribute = class
    inherit ParameterBindingAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type ODataPathParameterBindingAttribute = class
    inherit ModelBinderAttribute
Public NotInheritable Class ODataPathParameterBindingAttribute
Inherits ParameterBindingAttribute
Public NotInheritable Class ODataPathParameterBindingAttribute
Inherits ModelBinderAttribute
Héritage
System.Web.Http.ParameterBindingAttribute
ODataPathParameterBindingAttribute
Héritage
ODataPathParameterBindingAttribute
Attributs

Constructeurs

ODataPathParameterBindingAttribute()

Initialise une nouvelle instance de la classe ODataPathParameterBindingAttribute.

Méthodes

GetBinding(HttpParameterDescriptor)

Obtient la liaison de paramètre.

S’applique à