Esempio n. 1
0
        public CardMessageStrategy(int id)
        {
            deleteMessage = new DeleteMessage()
            {
                Data          = id,
                MessageEntity = MessageEntity.Card
            };

            isDeleteMessage = true;
        }
Esempio n. 2
0
        public CardListMessageStrategy(int id, string username)
        {
            deleteMessage = new DeleteMessage(username)
            {
                Data          = id,
                MessageEntity = MessageEntity.CardList
            };

            isDeleteMessage = true;
        }