Arnolyzer.Analyzers.CommonFunctions.MatchAttributeName C# (CSharp) Метод

MatchAttributeName() приватный статический Метод

private static MatchAttributeName ( Type attributeType, string name ) : bool
attributeType System.Type
name string
Результат bool
        private static bool MatchAttributeName(Type attributeType, string name) =>
            attributeType.Name.Replace("Attribute", "") == name || attributeType.Name == name;