public override bool Equals(object obj)
            {
                Bad5 rhs = obj as Bad5;

                if (rhs == null)
                {
                    return(false);
                }

                return(State == rhs.State);
            }
예제 #2
0
            public override bool Equals(object obj)
            {
                Bad5 rhs = obj as Bad5;

                if ((object)rhs == null)
                {
                    return(false);
                }

                return(name == rhs.name && address == rhs.address);
            }
예제 #3
0
            public override bool Equals(object rhsObj)
            {
                if (rhsObj == null)
                {
                    return(false);
                }

                Bad5 rhs = rhsObj as Bad5;

                return(this == rhs);
            }
예제 #4
0
 public bool Equals(Bad5 rhs)
 {
     return this == rhs;
 }
예제 #5
0
 public bool Equals(Bad5 rhs)
 {
     return(this == rhs);
 }