public bool Equals(TermNodeWithGuid_ObsoleteV1 tnwguid) { if (tnwguid == null) { return(false); } return(this.GUID.Equals(tnwguid.GUID)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (!(obj is TermNode_ObsoleteV1)) { return(false); } if (obj.GetType() == typeof(TermNode_ObsoleteV1)) { return(base.Equals(obj)); } TermNodeWithGuid_ObsoleteV1 tnwguid = obj as TermNodeWithGuid_ObsoleteV1; return(this.Equals(tnwguid)); }