Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Activity class.
 /// </summary>
 public Activity(string type = default(string), string id = default(string), DateTime?timestamp = default(DateTime?), DateTime?localTimestamp = default(DateTime?), string serviceUrl = default(string), string channelId = default(string), ChannelAccount from = default(ChannelAccount), ConversationAccount conversation = default(ConversationAccount), ChannelAccount recipient = default(ChannelAccount), string textFormat = default(string), string attachmentLayout = default(string), IList <ChannelAccount> membersAdded = default(IList <ChannelAccount>), IList <ChannelAccount> membersRemoved = default(IList <ChannelAccount>), string topicName = default(string), bool?historyDisclosed = default(bool?), string locale = default(string), string text = default(string), string speak = default(string), string inputHint = default(string), string summary = default(string), SuggestedActions suggestedActions = default(SuggestedActions), IList <Attachment> attachments = default(IList <Attachment>), IList <Entity> entities = default(IList <Entity>), object channelData = default(object), string action = default(string), string replyToId = default(string), object value = default(object), string name = default(string), ConversationReference relatesTo = default(ConversationReference), string code = default(string)) : this()
 {
     Type             = type;
     Id               = id;
     Timestamp        = timestamp;
     LocalTimestamp   = localTimestamp;
     ServiceUrl       = serviceUrl;
     ChannelId        = channelId;
     From             = from;
     Conversation     = conversation;
     Recipient        = recipient;
     TextFormat       = textFormat;
     AttachmentLayout = attachmentLayout;
     TopicName        = topicName;
     HistoryDisclosed = historyDisclosed;
     Locale           = locale;
     Text             = text;
     Speak            = speak;
     InputHint        = inputHint;
     Summary          = summary;
     SuggestedActions = suggestedActions;
     ChannelData      = channelData;
     Action           = action;
     ReplyToId        = replyToId;
     Value            = value;
     Name             = name;
     RelatesTo        = relatesTo;
     Code             = code;
     MembersAdded     = membersAdded ?? new List <ChannelAccount>();
     MembersRemoved   = membersRemoved ?? new List <ChannelAccount>();
     Attachments      = attachments ?? new List <Attachment>();
     Entities         = entities ?? new List <Entity>();
 }