예제 #1
0
        public static Attribute[] GetCustomAttributes(Module element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element, attributeType).ToArray(); // "inherit" is meaningless for modules

        public static Attribute[] GetCustomAttributes(ParameterInfo element) => CustomAttributeExtensions.GetCustomAttributes(element).ToArray();
예제 #2
0
        public static Attribute[] GetCustomAttributes(Module element, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element).ToArray(); // "inherit" is meaningless for assemblies

        public static Attribute[] GetCustomAttributes(Module element, Type attributeType) => CustomAttributeExtensions.GetCustomAttributes(element, attributeType).ToArray();
예제 #3
0
 public static Attribute[] GetCustomAttributes(Module element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element, attributeType).ToArray(); // "inherit" is meaningless for modules
예제 #4
0
 public static Attribute[] GetCustomAttributes(MemberInfo element, Type type, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element, type, inherit).ToArray();
예제 #5
0
 public static Attribute[] GetCustomAttributes(Module element, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element).ToArray(); // "inherit" is meaningless for assemblies
예제 #6
0
 public static bool IsDefined(Module element, Type attributeType, bool inherit) => CustomAttributeExtensions.IsDefined(element, attributeType); // "inherit" is meaningless for modules
예제 #7
0
 public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this, attributeType).ToArray(); // inherit is meaningless for Assemblies
 public sealed override bool IsDefined(Type attributeType, bool inherit) => CustomAttributeExtensions.IsDefined(this, attributeType);                                   // inherit is meaningless for Assemblies
예제 #8
0
        public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType); // "inherit" is meaningless for assemblies

        public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType);
예제 #9
0
 public static Attribute GetCustomAttribute(Module element, Type attributeType) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType);
예제 #10
0
 public static Attribute GetCustomAttribute(Assembly element, Type attributeType) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType);
예제 #11
0
 public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType); // "inherit" is meaningless for assemblies
예제 #12
0
        public sealed override object[] GetCustomAttributes(bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this).ToArray();                                    // inherit is meaningless for Modules

        public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this, attributeType).ToArray(); // inherit is meaningless for Modules
예제 #13
0
 public sealed override bool IsDefined(Type attributeType, bool inherit) => CustomAttributeExtensions.IsDefined(this, attributeType, inherit);
예제 #14
0
 public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this, attributeType, inherit).ToArray();
예제 #15
0
 public static Attribute[] GetCustomAttributes(ParameterInfo element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttributes(element, attributeType, inherit).ToArray();
예제 #16
0
 public static Attribute GetCustomAttribute(ParameterInfo element, Type attributeType, bool inherit) => CustomAttributeExtensions.GetCustomAttribute(element, attributeType, inherit);
예제 #17
0
 public static bool IsDefined(Module element, Type attributeType) => CustomAttributeExtensions.IsDefined(element, attributeType);
예제 #18
0
 public static Attribute[] GetCustomAttributes(Assembly element) => CustomAttributeExtensions.GetCustomAttributes(element).ToArray();
예제 #19
0
 public static bool IsDefined(ParameterInfo element, Type attributeType, bool inherit) => CustomAttributeExtensions.IsDefined(element, attributeType, inherit);
예제 #20
0
 public sealed override object[] GetCustomAttributes(bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this).ToArray();                                    // inherit is meaningless for Assemblies