ConventionBuilder.GetCustomAttributes Metodo

Definizione

Overload

Nome Descrizione
GetCustomAttributes(Type, MemberInfo)

Recupera l'elenco di attributi personalizzati applicati al membro specificato del tipo specificato.

GetCustomAttributes(Type, ParameterInfo)

Recupera l'elenco di attributi personalizzati applicati al parametro specificato del tipo specificato.

GetCustomAttributes(Type, MemberInfo)

Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs

Recupera l'elenco di attributi personalizzati applicati al membro specificato del tipo specificato.

public:
 override System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::MemberInfo ^ member);
public override System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.MemberInfo member);
override this.GetCustomAttributes : Type * System.Reflection.MemberInfo -> seq<Attribute>
Public Overrides Function GetCustomAttributes (reflectedType As Type, member As MemberInfo) As IEnumerable(Of Attribute)

Parametri

reflectedType
Type

Tipo.

member
MemberInfo

Membro da controllare.

Valori restituiti

Raccolta di attributi personalizzati.

Si applica a

GetCustomAttributes(Type, ParameterInfo)

Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs
Origine:
ConventionBuilder.cs

Recupera l'elenco di attributi personalizzati applicati al parametro specificato del tipo specificato.

public:
 override System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::ParameterInfo ^ parameter);
public override System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.ParameterInfo parameter);
override this.GetCustomAttributes : Type * System.Reflection.ParameterInfo -> seq<Attribute>
Public Overrides Function GetCustomAttributes (reflectedType As Type, parameter As ParameterInfo) As IEnumerable(Of Attribute)

Parametri

reflectedType
Type

Tipo.

parameter
ParameterInfo

Parametro da esaminare.

Valori restituiti

Raccolta di attributi personalizzati.

Si applica a