Udostępnij przez


ConventionBuilder.GetCustomAttributes Metoda

Definicja

Przeciążenia

GetCustomAttributes(Type, MemberInfo)

Pobiera listę atrybutów niestandardowych zastosowanych do określonego elementu członkowskiego określonego typu.

GetCustomAttributes(Type, ParameterInfo)

Pobiera listę atrybutów niestandardowych zastosowanych do określonego parametru określonego typu.

GetCustomAttributes(Type, MemberInfo)

Źródło:
ConventionBuilder.cs
Źródło:
ConventionBuilder.cs
Źródło:
ConventionBuilder.cs

Pobiera listę atrybutów niestandardowych zastosowanych do określonego elementu członkowskiego określonego typu.

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)

Parametry

reflectedType
Type

Typ.

member
MemberInfo

Element członkowski do wglądu.

Zwraca

Kolekcja atrybutów niestandardowych.

Dotyczy

GetCustomAttributes(Type, ParameterInfo)

Źródło:
ConventionBuilder.cs
Źródło:
ConventionBuilder.cs
Źródło:
ConventionBuilder.cs

Pobiera listę atrybutów niestandardowych zastosowanych do określonego parametru określonego typu.

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)

Parametry

reflectedType
Type

Typ.

parameter
ParameterInfo

Parametr do wglądu.

Zwraca

Kolekcja atrybutów niestandardowych.

Dotyczy