Beispiel #1
0
        protected void TogglePrivacy(PrivacyRoom room)
        {
            mPrivacy.Remove(room);

            if (!Lookup.ContainsKey(room))
            {
                Lookup.Add(room, true);

                mPrivacy.Add(room);
            }
            else
            {
                Lookup.Remove(room);
            }
        }
Beispiel #2
0
        protected void TogglePrivacy(PrivacyRoom room)
        {
            mPrivacy.Remove(room);

            if (!Lookup.ContainsKey(room))
            {
                Lookup.Add(room, true);

                mPrivacy.Add(room);
            }
            else
            {
                Lookup.Remove(room);
            }
        }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            PrivacyRoom room = obj as PrivacyRoom;

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

            if (mLot != room.mLot)
            {
                return(false);
            }

            return(mRoom == room.mRoom);
        }