GetCustomAttributes() static private method

static private GetCustomAttributes ( ICustomAttributeProvider obj, Type attributeType, bool inherit ) : object[]
obj ICustomAttributeProvider
attributeType Type
inherit bool
return object[]
コード例 #1
0
ファイル: Attribute.cs プロジェクト: yuxi214/mono
 public static Attribute[] GetCustomAttributes(ParameterInfo element, bool inherit) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, inherit);
コード例 #2
0
ファイル: attribute.cs プロジェクト: marcinm100/mono
 static Attribute[] InternalGetCustomAttributes(EventInfo element, Type type, bool inherit)
 {
     return((Attribute [])MonoCustomAttrs.GetCustomAttributes(element, type, inherit));
 }
コード例 #3
0
ファイル: Attribute.cs プロジェクト: yuxi214/mono
 public static Attribute[] GetCustomAttributes(Module element, bool inherit) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, inherit);
コード例 #4
0
ファイル: Attribute.cs プロジェクト: yuxi214/mono
 public static Attribute[] GetCustomAttributes(ParameterInfo element) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, true);
コード例 #5
0
ファイル: Attribute.cs プロジェクト: yuxi214/mono
 public static Attribute[] GetCustomAttributes(Module element) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, true);
コード例 #6
0
ファイル: Attribute.cs プロジェクト: yuxi214/mono
 public static Attribute[] GetCustomAttributes(Assembly element) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, true);
コード例 #7
0
 public override object[] GetCustomAttributes(bool inherit)
 {
     return(MonoCustomAttrs.GetCustomAttributes(this, inherit));
 }
コード例 #8
0
 public static Attribute[] GetCustomAttributes(Module element, Type attributeType) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, attributeType, true);
コード例 #9
0
 public static Attribute[] GetCustomAttributes(MemberInfo element, Type attributeType, bool inherit) => (Attribute[])MonoCustomAttrs.GetCustomAttributes(element, attributeType, inherit);