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

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

            isDeleteMessage = true;
        }