Exemplo 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);
        }
Exemplo 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;
        }