Catel.Fody.CecilExtensions.GetAttributes C# (CSharp) Метод

GetAttributes() публичный статический Метод

public static GetAttributes ( Collection customAttributes, string attributeName ) : IEnumerable
customAttributes Collection
attributeName string
Результат IEnumerable
        public static IEnumerable<CustomAttribute> GetAttributes(Collection<CustomAttribute> customAttributes, string attributeName)
        {
            return (from attribute in customAttributes
                    where attribute.Constructor.DeclaringType.FullName.Contains(attributeName)
                    select attribute);
        }

Same methods

CecilExtensions::GetAttributes ( this typeDefinition, string attributeName ) : IEnumerable