コード例 #1
0
        // Token: 0x06002066 RID: 8294 RVA: 0x000BB6C8 File Offset: 0x000B98C8
        protected override void RenderMenuItems(TextWriter output, UserContext userContext)
        {
            UriFlags uriFlags = this.libraryType;

            switch (uriFlags)
            {
            case UriFlags.Sharepoint:
                ArrangeByMenu.RenderMenuItem(output, -1966747349, null, ColumnId.SharepointDocumentLibraryDisplayName);
                ArrangeByMenu.RenderMenuItem(output, 873740972, null, ColumnId.SharepointDocumentLibraryDescription);
                ArrangeByMenu.RenderMenuItem(output, 1554779067, null, ColumnId.SharepointDocumentLibraryItemCount);
                ArrangeByMenu.RenderMenuItem(output, 869905365, null, ColumnId.SharepointDocumentLibraryLastModified);
                return;

            case UriFlags.Unc:
                ArrangeByMenu.RenderMenuItem(output, -1966747349, null, ColumnId.UncDocumentDisplayName);
                ArrangeByMenu.RenderMenuItem(output, 869905365, null, ColumnId.UncDocumentLastModified);
                return;

            case UriFlags.Sharepoint | UriFlags.Unc:
            case UriFlags.DocumentLibrary:
                return;

            case UriFlags.SharepointDocumentLibrary:
                goto IL_81;

            case UriFlags.UncDocumentLibrary:
                break;

            default:
                switch (uriFlags)
                {
                case UriFlags.SharepointFolder:
                    goto IL_81;

                case UriFlags.UncFolder:
                    break;

                default:
                    return;
                }
                break;
            }
            ArrangeByMenu.RenderMenuItem(output, -1966747349, null, ColumnId.UncDocumentDisplayName);
            ArrangeByMenu.RenderMenuItem(output, 869905365, null, ColumnId.UncDocumentLastModified);
            ArrangeByMenu.RenderMenuItem(output, -837446919, null, ColumnId.UncDocumentFileSize);
            return;

IL_81:
            ArrangeByMenu.RenderMenuItem(output, -1966747349, null, ColumnId.SharepointDocumentDisplayName);
            ArrangeByMenu.RenderMenuItem(output, 869905365, null, ColumnId.SharepointDocumentLastModified);
            ArrangeByMenu.RenderMenuItem(output, 1276881056, null, ColumnId.SharepointDocumentModifiedBy);
            ArrangeByMenu.RenderMenuItem(output, -580782680, null, ColumnId.SharepointDocumentCheckedOutTo);
            ArrangeByMenu.RenderMenuItem(output, -837446919, null, ColumnId.SharepointDocumentFileSize);
        }
コード例 #2
0
 protected override void RenderMenuItems(TextWriter output, UserContext userContext)
 {
     if (output == null)
     {
         throw new ArgumentNullException("output");
     }
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     ArrangeByMenu.RenderMenuItem(output, -1876431821, null, ColumnId.GivenName);
     ArrangeByMenu.RenderMenuItem(output, 1759499200, null, ColumnId.Surname);
     ArrangeByMenu.RenderMenuItem(output, -826838917, null, ColumnId.CompanyName);
     ArrangeByMenu.RenderMenuItem(output, 13085779, null, ColumnId.FileAs);
     ArrangeByMenu.RenderMenuItem(output, -611050349, null, ColumnId.Department);
     ArrangeByMenu.RenderMenuItem(output, 1587370059, null, ColumnId.ContactFlagDueDate);
     ArrangeByMenu.RenderMenuItem(output, 1580556595, null, ColumnId.ContactFlagStartDate);
 }
コード例 #3
0
 protected override void RenderMenuItems(TextWriter output, UserContext userContext)
 {
     if (output == null)
     {
         throw new ArgumentNullException("output");
     }
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     ArrangeByMenu.RenderMenuItem(output, 1932142663, null, ColumnId.DeletedOnTime);
     ArrangeByMenu.RenderMenuItem(output, 1309845117, null, ColumnId.From);
     ArrangeByMenu.RenderMenuItem(output, 262509582, null, ColumnId.To);
     ArrangeByMenu.RenderMenuItem(output, 1128018090, null, ColumnId.Size);
     ArrangeByMenu.RenderMenuItem(output, 2014646167, "divSbj", ColumnId.Subject);
     ArrangeByMenu.RenderMenuItem(output, 785343019, null, ColumnId.MailIcon);
     ArrangeByMenu.RenderMenuItem(output, 1072079569, null, ColumnId.HasAttachment);
 }
コード例 #4
0
 protected override void RenderMenuItems(TextWriter output, UserContext userContext)
 {
     if (output == null)
     {
         throw new ArgumentNullException("output");
     }
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     ArrangeByMenu.RenderMenuItem(output, 785343019, "divTy", ColumnId.TaskIcon);
     ArrangeByMenu.RenderMenuItem(output, -153493007, "divCmp", ColumnId.MarkCompleteCheckbox);
     ArrangeByMenu.RenderMenuItem(output, 1569168155, "divIm", ColumnId.Importance);
     ArrangeByMenu.RenderMenuItem(output, 1072079569, "divAt", ColumnId.HasAttachment);
     ArrangeByMenu.RenderMenuItem(output, 2014646167, "divSbj", ColumnId.Subject);
     ArrangeByMenu.RenderMenuItem(output, -66960209, "divDt", ColumnId.DueDate);
     ArrangeByMenu.RenderMenuItem(output, 503275475, "divFlg", ColumnId.TaskFlag);
 }