Пример #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