// Token: 0x06000017 RID: 23 RVA: 0x00002920 File Offset: 0x00000B20
 internal void ResetAsUidStore(string newCommandId, string uid, ImapMailFlags flags, bool addFlags)
 {
     this.Reset(ImapCommandType.Store, newCommandId, delegate(ImapCommand cmd)
     {
         StringBuilder cachedStringBuilder = cmd.CachedStringBuilder;
         cachedStringBuilder.Length        = 0;
         cachedStringBuilder.Append(cmd.CommandId);
         cachedStringBuilder.Append(" UID STORE ");
         cachedStringBuilder.Append((string)cmd.CommandParameters[0]);
         if (addFlags)
         {
             cachedStringBuilder.Append(" +FLAGS.SILENT ");
         }
         else
         {
             cachedStringBuilder.Append(" -FLAGS.SILENT ");
         }
         ImapUtilities.AppendStringBuilderImapFlags((ImapMailFlags)cmd.CommandParameters[1], cachedStringBuilder);
         cachedStringBuilder.Append("\r\n");
         return(cachedStringBuilder.ToString());
     }, new object[]
     {
         uid,
         flags
     });
 }
 // Token: 0x06000016 RID: 22 RVA: 0x00002824 File Offset: 0x00000A24
 internal void ResetAsAppend(string newCommandId, string mailboxName, ImapMailFlags messageFlags, Stream messageBody)
 {
     this.Reset(ImapCommandType.Append, newCommandId, delegate(ImapCommand cmd)
     {
         string value = cmd.ConvertToQuotableString((string)cmd.CommandParameters[0]);
         StringBuilder cachedStringBuilder = cmd.CachedStringBuilder;
         cachedStringBuilder.Length        = 0;
         cachedStringBuilder.Append(cmd.CommandId);
         cachedStringBuilder.Append(" APPEND \"");
         cachedStringBuilder.Append(value);
         cachedStringBuilder.Append("\" ");
         ImapUtilities.AppendStringBuilderImapFlags((ImapMailFlags)cmd.CommandParameters[1], cachedStringBuilder);
         cachedStringBuilder.Append(" {");
         cachedStringBuilder.Append((long)cmd.CommandParameters[3]);
         cachedStringBuilder.Append("}\r\n");
         return(cachedStringBuilder.ToString());
     }, new object[]
     {
         mailboxName,
         messageFlags,
         messageBody,
         messageBody.Length
     });
 }