// Token: 0x06001F8A RID: 8074 RVA: 0x000B57B8 File Offset: 0x000B39B8 internal void RenderConversationParts(TextWriter writer, OwaStoreObjectId conversationId, Folder contextFolder, Folder dataFolder) { ExDateTime?lastDeliveryTime = ConversationUtilities.GetLastDeliveryTime(this.ConversationPartsDataSource.Conversation); writer.Write("<div id=\""); writer.Write("tblExp"); writer.Write("\" "); writer.Write("expId"); writer.Write("=\""); Utilities.HtmlEncode(conversationId.ToString(), writer); writer.Write("\" "); writer.Write("iGC"); writer.Write("="); writer.Write(ConversationUtilities.GetGlobalCount(this.ConversationPartsDataSource.Conversation)); writer.Write(">"); FolderViewStates folderViewStates = base.UserContext.GetFolderViewStates(contextFolder); ReadingPanePosition readingPanePosition = folderViewStates.ReadingPanePosition; int num; if (readingPanePosition == ReadingPanePosition.Right) { num = folderViewStates.ViewWidth; } else { num = 800; } int num2 = (num - ListViewColumns.GetColumn(ColumnId.DeliveryTime).Width - ListViewColumns.GetColumn(ColumnId.MailIcon).Width - ListViewColumns.GetColumn(ColumnId.From).Width - ListViewColumns.GetColumn(ColumnId.Importance).Width - ListViewColumns.GetColumn(ColumnId.HasAttachment).Width - ListViewColumns.GetColumn(ColumnId.Categories).Width - ListViewColumns.GetColumn(ColumnId.FlagDueDate).Width - 18) / 4; num2 = Math.Max(num2, 0); List <StoreObjectId> localItemIds = ConversationUtilities.GetLocalItemIds(this.ConversationPartsDataSource.Conversation, dataFolder); ConversationUtilities.MarkLocalNodes(this.ConversationPartsDataSource.Conversation, localItemIds); while (this.DataSource.MoveNext()) { this.RenderConversationPartRow(writer, contextFolder, dataFolder, lastDeliveryTime, num2); } writer.Write("</div>"); }