GetCustomAttribute() static private méthode

static private GetCustomAttribute ( ParameterInfo parameter ) : Attribute
parameter ParameterInfo
Résultat System.Attribute
Exemple #1
0
 internal static bool IsDefined(RuntimeFieldInfo field)
 {
     return(MarshalAsAttribute.GetCustomAttribute(field) != null);
 }
Exemple #2
0
 internal static bool IsDefined(RuntimeParameterInfo parameter)
 {
     return(MarshalAsAttribute.GetCustomAttribute(parameter) != null);
 }
Exemple #3
0
 internal static Attribute GetCustomAttribute(RuntimeFieldInfo field)
 {
     return(MarshalAsAttribute.GetCustomAttribute(field.MetadataToken, field.GetRuntimeModule()));
 }
Exemple #4
0
 internal static Attribute GetCustomAttribute(RuntimeParameterInfo parameter)
 {
     return(MarshalAsAttribute.GetCustomAttribute(parameter.MetadataToken, parameter.GetRuntimeModule()));
 }