Boo.Lang.Compiler.Ast.AttributeCollection.Contains C# (CSharp) Method

Contains() public method

public Contains ( string attributeName ) : bool
attributeName string
return bool
        public bool Contains(string attributeName)
        {
            foreach (Boo.Lang.Compiler.Ast.Attribute attribute in this)
            {
                if (attributeName == attribute.Name)
                {
                    return true;
                }
            }
            return false;
        }