public override bool Equals(object obj) { if (obj is DNComponent) { DNComponent dnObj = (DNComponent)obj; return(dnObj.WholeComponent.Equals(this.WholeComponent, StringComparison.CurrentCultureIgnoreCase)); } return(base.Equals(obj)); }
public bool Contains(DNComponent dnComponent) { return(components.Contains(dnComponent)); }