Sdílet prostřednictvím


FromODataUriAttribute Třída

Definice

Implementace, která může svázat parametry identifikátoru System.Web.Http.ParameterBindingAttribute URI pomocí konvencí OData.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class FromODataUriAttribute : System.Web.Http.ModelBinding.ModelBinderAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class FromODataUriAttribute : Microsoft.AspNetCore.Mvc.ModelBinderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type FromODataUriAttribute = class
    inherit ModelBinderAttribute
Public NotInheritable Class FromODataUriAttribute
Inherits ModelBinderAttribute
Dědičnost
System.Web.Http.ModelBinding.ModelBinderAttribute
FromODataUriAttribute
Dědičnost
FromODataUriAttribute
Atributy

Konstruktory

FromODataUriAttribute()

Vytvoří instanci nové instance FromODataUriAttribute třídy.

Metody

GetBinding(HttpParameterDescriptor)

Získá vazbu pro parametr.

Platí pro