public ChannelMessage() { To = new SourceAddressCollection(); CC = new SourceAddressCollection(); BCC = new SourceAddressCollection(); Metadata = new ChannelMetadata(); Attachments = new List<ChannelAttachment>(); }
public Message() { MessageKey = Guid.NewGuid().GetHash(); Metadata = new ChannelMetadata(); DateCreated = DateTime.Now; To = new SourceAddressCollection(); CC = new SourceAddressCollection(); BCC = new SourceAddressCollection(); SourceChannelId = 0; TargetChannelId = 0; Documents = new AdvancedObservableCollection<Document>(); LabelsList = new AdvancedObservableCollection<Label>(); ReceiveLabels = new List<Label>(); PostLabels = new List<Label>(); ContentSynced = true; }