public override void Reinitialization(Entity other)
        {
            ExtraContent newExtra = other as ExtraContent;

            if (newExtra == null)
            {
                return;
            }
            Content = newExtra.Content;
        }
        public override bool Equals(object obj)
        {
            ExtraContent other = obj as ExtraContent;

            if (other == null)
            {
                return(false);
            }
            return((ID == other.ID) && (Content == Content));
        }
Beispiel #3
0
        public override void Reinitialization(Entity other)
        {
            Message message = other as Message;

            if (message == null)
            {
                return;
            }
            Creator      = message.Creator;
            CreationDate = message.CreationDate;
            Content      = message.Content;
            Extra        = message.Extra;
        }