Catel.Reflection.ReflectionExtensions.GetCustomAttributeEx C# (CSharp) Method

GetCustomAttributeEx() public static method

public static GetCustomAttributeEx ( this assembly, Type attributeType ) : Attribute
assembly this
attributeType System.Type
return System.Attribute
        public static Attribute GetCustomAttributeEx(this Assembly assembly, Type attributeType)
        {
            var attributes = GetCustomAttributesEx(assembly, attributeType);
            return (attributes.Length > 0) ? attributes[0] : null;
        }