ConventionBuilder.GetCustomAttributes Méthode

Définition

Surcharges

Nom Description
GetCustomAttributes(Type, MemberInfo)

Récupère la liste des attributs personnalisés appliqués au membre spécifié du type spécifié.

GetCustomAttributes(Type, ParameterInfo)

Récupère la liste des attributs personnalisés appliqués au paramètre spécifié du type spécifié.

GetCustomAttributes(Type, MemberInfo)

Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs

Récupère la liste des attributs personnalisés appliqués au membre spécifié du type spécifié.

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)

Paramètres

reflectedType
Type

Le type.

member
MemberInfo

Membre à inspecter.

Retours

Collection d’attributs personnalisés.

S’applique à

GetCustomAttributes(Type, ParameterInfo)

Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs

Récupère la liste des attributs personnalisés appliqués au paramètre spécifié du type spécifié.

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)

Paramètres

reflectedType
Type

Le type.

parameter
ParameterInfo

Paramètre à inspecter.

Retours

Collection d’attributs personnalisés.

S’applique à