Ejemplo n.º 1
0
        public bool Equals(HomeAutomationEntity that)
        {
            if (that == null)
            {
                return(false);
            }

            if (!String.Equals(this.Address, that.Address))
            {
                return(false);
            }

            if (!String.Equals(this.Name, that.Name))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 2
0
        public bool Equals(HomeAutomationEntity that)
        {
            if (that == null)
            {
                return false;
            }

            if (!String.Equals(this.Address, that.Address))
            {
                return false;
            }

            if (!String.Equals(this.Name, that.Name))
            {
                return false;
            }

            return true;
        }