Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if (this.GetType() != obj.GetType())
            {
                return(false);
            }
            KeywordAttribute other = (KeywordAttribute)obj;

            return(keyword == other.keyword);
        }
Exemplo n.º 2
0
        public override void CopyTo(IAttribute target)
        {
            KeywordAttribute attr = (KeywordAttribute)target;

            attr.IsKeyword = keyword;
        }