public void Clear() { NameList.Clear(); Message.Clear(); Content = null; Subject = null; Recipients.Clear(); ConfirmRecipientIndex = 0; ShowEmailIndex = 0; ReadEmailIndex = 0; ReadRecipientIndex = 0; RecipientChoiceList.Clear(); IsUnreadOnly = true; IsImportant = false; StartDateTime = DateTime.UtcNow.Add(new TimeSpan(-7, 0, 0, 0)); EndDateTime = DateTime.UtcNow; DirectlyToMe = false; SenderName = null; EmailList = new List <string>(); ShowRecipientIndex = 0; LuisResultPassedFromSkill = null; MailSourceType = MailSource.Other; UserSelectIndex = -1; UnconfirmedPerson = new List <Person>(); FirstRetryInFindContact = true; ConfirmedPerson = new Person(); FirstEnterFindContact = true; }
public void ClearParticipants() { NameList.Clear(); Recipients.Clear(); ConfirmRecipientIndex = 0; ReadRecipientIndex = 0; RecipientChoiceList.Clear(); EmailList = new List <string>(); ShowRecipientIndex = 0; Subject = string.IsNullOrEmpty(Subject) ? EmailCommonStrings.Skip : Subject; Content = string.IsNullOrEmpty(Content) ? EmailCommonStrings.Skip : Content; }