Share via


FromUriAttribute Classe

Definizione

Attributo che specifica che il valore può essere associato dalla stringa di query o dai dati di route.

[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public class FromUriAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IOptionalBinderMetadata
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type FromUriAttribute = class
    inherit Attribute
    interface IOptionalBinderMetadata
    interface IBindingSourceMetadata
    interface IModelNameProvider
Public Class FromUriAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider, IOptionalBinderMetadata
Ereditarietà
FromUriAttribute
Attributi
Implementazioni

Costruttori

FromUriAttribute()

Inizializza una nuova istanza della classe FromUriAttribute.

Proprietà

BindingSource

Ottiene l'oggetto BindingSource.

IsOptional

Ottiene un valore che indica se il parametro partecipa all'overload API Web ASP.NET'azione. Se true, il parametro non partecipa all'overload. In caso contrario, lo fa.

Name

Nome del modello.

Si applica a