Catel.Fody.CecilExtensions.GetAttribute C# (CSharp) Method

GetAttribute() public static method

public static GetAttribute ( Collection customAttributes, string attributeName ) : CustomAttribute
customAttributes Collection
attributeName string
return Mono.Cecil.CustomAttribute
        public static CustomAttribute GetAttribute(Collection<CustomAttribute> customAttributes, string attributeName)
        {
            return GetAttributes(customAttributes, attributeName).FirstOrDefault();
        }

Same methods

CecilExtensions::GetAttribute ( this typeDefinition, string attributeName ) : CustomAttribute
CecilExtensions::GetAttribute ( this attributes, string attributeName ) : CustomAttribute