public myTreeNode(string sName, NodeObjectType type, object oTag) { this.Name = sName; nodeType = type; this.Text = sName; this.Tag = oTag; }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ NodeObjectType.GetHashCode(); hashCode = (hashCode * 397) ^ RecycleBinEmptiedSuccessfully.GetHashCode(); return(hashCode); } }
public bool Equals(RecycleBinEventArgs?other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && NodeObjectType.Equals(other.NodeObjectType) && RecycleBinEmptiedSuccessfully == other.RecycleBinEmptiedSuccessfully); }
public bool Equals(RecycleBinEventArgs other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && AllPropertyData.Equals(other.AllPropertyData) && Files.Equals(other.Files) && Ids.Equals(other.Ids) && NodeObjectType.Equals(other.NodeObjectType) && RecycleBinEmptiedSuccessfully == other.RecycleBinEmptiedSuccessfully); }