示例#1
0
 // Token: 0x06001FE2 RID: 8162 RVA: 0x000B8680 File Offset: 0x000B6880
 internal static void RenderAsSubmenu(TextWriter output, UserContext userContext, RenderMenuItemDelegate renderMenuItem)
 {
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     if (renderMenuItem == null)
     {
         throw new ArgumentNullException("renderMenuItem");
     }
     if (PolicyProvider.DeletePolicyProvider.IsPolicyEnabled(userContext.MailboxSession))
     {
         renderMenuItem(output, 1463778657, ThemeFileId.None, "divDelPtg", null, false, null, null, DeletePolicyContextMenu.Create(userContext));
     }
 }
示例#2
0
 internal static void RenderAsSubmenu(TextWriter output, UserContext userContext, RenderMenuItemDelegate renderMenuItem)
 {
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     if (renderMenuItem == null)
     {
         throw new ArgumentNullException("renderMenuItem");
     }
     if (PolicyProvider.MovePolicyProvider.IsPolicyEnabled(userContext.MailboxSession) && Utilities.HasArchive(userContext))
     {
         renderMenuItem(output, 1060619217, ThemeFileId.None, "divMvPtg", null, false, null, null, MovePolicyContextMenu.Create(userContext));
     }
 }