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)); } }
public MessageSet(CommsGroup to, MsgType type, string content) : this(to, type, null, content) { ID = Guid.NewGuid().ToString(); }