示例#1
0
        public MessageSet(CommsGroup to, MsgType type, string id, string content)
        {
            To      = to;
            Type    = type;
            ID      = id;
            Content = content;
            From    = BluetoothMessageCenter.Server.MyMACaddress;

            submessages = new List <Message>();
            foreach (var teammate in To.Contacts)
            {
                submessages.Add(new Message(Type, Content));
            }
        }
示例#2
0
 public MessageSet(CommsGroup to, MsgType type, string content) : this(to, type, null, content)
 {
     ID = Guid.NewGuid().ToString();
 }