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); }
public override void CopyTo(IAttribute target) { KeywordAttribute attr = (KeywordAttribute)target; attr.IsKeyword = keyword; }