// Token: 0x0600297E RID: 10622 RVA: 0x000E9ED4 File Offset: 0x000E80D4
        protected void RenderELCCommentAndQuota(Infobar infobar)
        {
            SanitizingStringBuilder <OwaHtml> sanitizingStringBuilder = new SanitizingStringBuilder <OwaHtml>();
            SanitizedHtmlString sanitizedHtmlString = new SanitizedHtmlString(base.RenderELCComment());

            sanitizedHtmlString.DecreeToBeTrusted();
            SanitizedHtmlString sanitizedHtmlString2 = new SanitizedHtmlString(base.RenderELCQuota());

            sanitizedHtmlString2.DecreeToBeTrusted();
            sanitizingStringBuilder.Append <SanitizedHtmlString>(sanitizedHtmlString);
            sanitizingStringBuilder.Append <SanitizedHtmlString>(sanitizedHtmlString2);
            infobar.AddMessage(sanitizingStringBuilder.ToSanitizedString <SanitizedHtmlString>(), InfobarMessageType.Informational, "divElcIB", !base.IsELCInfobarVisible);
        }
 public void CreateListView()
 {
     if (this.searchLocation == AddressBook.SearchLocation.AddressBook)
     {
         this.listView = new AddressBookListView(this.searchString, base.UserContext, ColumnId.DisplayNameAD, SortOrder.Ascending, this.addressBookBase, AddressBookBase.RecipientCategory.All);
     }
     else
     {
         FolderSearch folderSearch = new FolderSearch();
         SearchScope  searchScope  = base.UserContext.MailboxSession.Mailbox.IsContentIndexingEnabled ? SearchScope.SelectedAndSubfolders : SearchScope.SelectedFolder;
         this.searchFolder = folderSearch.Execute(base.UserContext, this.folder, searchScope, this.searchString, this.isNewSearch, false);
         object obj = this.searchFolder.TryGetProperty(FolderSchema.ItemCount);
         if (!(obj is PropertyError))
         {
             this.itemCount = (int)obj;
         }
         this.listView = new ContactsListView(base.UserContext, this.sortColumn, this.sortOrder, this.searchFolder, searchScope);
     }
     this.listView.Initialize(this.firstItemOnPage, this.lastItemOnPage);
     if (!string.IsNullOrEmpty(this.searchString))
     {
         SanitizedHtmlString sanitizedHtmlString = new SanitizedHtmlString("<a href=\"#\" onclick=\"return onClkClrLnk();\">" + LocalizedStrings.GetHtmlEncoded(1155007962) + "</a>");
         sanitizedHtmlString.DecreeToBeTrusted();
         SanitizedHtmlString messageHtml;
         if (this.listView.TotalCount == 0)
         {
             messageHtml = SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-761327948), new object[]
             {
                 sanitizedHtmlString
             });
         }
         else if (this.searchLocation == AddressBook.SearchLocation.AddressBook)
         {
             if (this.addressBookBase.Base64Guid == base.UserContext.GlobalAddressListInfo.ToAddressBookBase().Base64Guid)
             {
                 messageHtml = SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-121508646), new object[]
                 {
                     this.listView.TotalCount,
                     this.searchString,
                     sanitizedHtmlString
                 });
             }
             else
             {
                 messageHtml = SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-1725472335), new object[]
                 {
                     this.listView.TotalCount,
                     this.searchString,
                     this.addressBookBase.DisplayName,
                     sanitizedHtmlString
                 });
             }
         }
         else
         {
             messageHtml = SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-1403744948), new object[]
             {
                 this.listView.TotalCount,
                 this.searchString,
                 sanitizedHtmlString
             });
         }
         base.Infobar.AddMessageHtml(messageHtml, InfobarMessageType.Informational);
     }
 }