Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            PowerShellBreakpointRecord other = obj as PowerShellBreakpointRecord;

            if (other == null)
            {
                return(false);
            }
            else
            {
                return(this.PSBreakpoint.Equals(other.PSBreakpoint) &&
                       this.Id == other.Id);
            }
        }
Пример #2
0
 public bool Equals(PowerShellBreakpointRecord other)
 {
     return(this.PSBreakpoint.Equals(other.PSBreakpoint) &&
            this.Id == other.Id);
 }