RegistrationBuilder.GetCustomAttributes Metodo

Definizione

Fornisce una raccolta modificata di attributi personalizzati per l'oggetto specificato, come indicato in questo contesto di reflection.

Overload

GetCustomAttributes(MemberInfo, IEnumerable<Object>)

Fornisce un elenco di attributi personalizzati per il membro specificato, come indicato in questo contesto di reflection.

GetCustomAttributes(ParameterInfo, IEnumerable<Object>)

Fornisce un elenco di attributi personalizzati per il parametro specificato, come indicato in questo contesto di reflection.

GetCustomAttributes(MemberInfo, IEnumerable<Object>)

Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs

Fornisce un elenco di attributi personalizzati per il membro specificato, come indicato in questo contesto di reflection.

protected:
 override System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::MemberInfo ^ member, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected override System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable<object> declaredAttributes);
override this.GetCustomAttributes : System.Reflection.MemberInfo * seq<obj> -> seq<obj>
Protected Overrides Function GetCustomAttributes (member As MemberInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)

Parametri

member
MemberInfo

Membro di cui verranno restituiti gli attributi personalizzati.

declaredAttributes
IEnumerable<Object>

Raccolta degli attributi del membro nel relativo contesto corrente.

Restituisce

Raccolta che rappresenta gli attributi personalizzati del membro specificato in questo contesto di reflection.

Si applica a

GetCustomAttributes(ParameterInfo, IEnumerable<Object>)

Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs

Fornisce un elenco di attributi personalizzati per il parametro specificato, come indicato in questo contesto di reflection.

protected:
 override System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ parameter, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected override System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.ParameterInfo parameter, System.Collections.Generic.IEnumerable<object> declaredAttributes);
override this.GetCustomAttributes : System.Reflection.ParameterInfo * seq<obj> -> seq<obj>
Protected Overrides Function GetCustomAttributes (parameter As ParameterInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)

Parametri

parameter
ParameterInfo

Parametro di cui verranno restituiti gli attributi personalizzati.

declaredAttributes
IEnumerable<Object>

Raccolta degli attributi del parametro nel relativo contesto corrente.

Restituisce

Raccolta che rappresenta gli attributi personalizzati del parametro specificato in questo contesto di reflection.

Si applica a