public void EmptyJunkEmail() { Folder folder = Utilities.SafeFolderBind(base.UserContext.MailboxSession, DefaultFolderType.JunkEmail, new PropertyDefinition[0]); NavigationTreeDirtyFlag flag = NavigationTreeDirtyFlag.None; if (folder != null) { using (folder) { flag = this.CheckNavigationTreeDirtyFlag(folder, false); } } base.UserContext.MailboxSession.DeleteAllObjects(DeleteItemFlags.SoftDelete | DeleteItemFlags.SuppressReadReceipt, base.UserContext.JunkEmailFolderId); RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, flag, (NavigationModule[])base.GetParameter("cms")); }
// Token: 0x06002FA1 RID: 12193 RVA: 0x0011436C File Offset: 0x0011256C private void CopyOrMoveFolder(bool isCopy) { ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "TreeEventHandler." + (isCopy ? "Copy" : "Move")); OwaStoreObjectId owaStoreObjectId = (OwaStoreObjectId)base.GetParameter("id"); OwaStoreObjectId owaStoreObjectId2 = (OwaStoreObjectId)base.GetParameter("destId"); bool isExpanded = (bool)base.GetParameter("exp"); if (owaStoreObjectId.IsOtherMailbox || owaStoreObjectId2.IsOtherMailbox) { throw new OwaInvalidRequestException("Cannot copy or move a shared folder"); } if (Utilities.IsDefaultFolderId(base.UserContext, owaStoreObjectId, DefaultFolderType.SearchFolders) || Utilities.IsDefaultFolderId(base.UserContext, owaStoreObjectId2, DefaultFolderType.SearchFolders)) { throw new OwaInvalidRequestException("Cannot Copy or Move Search Folder"); } NavigationTreeDirtyFlag navigationTreeDirtyFlag = NavigationTreeDirtyFlag.None; string displayName; using (Folder folder = Utilities.GetFolder <Folder>(base.UserContext, owaStoreObjectId, new PropertyDefinition[] { FolderSchema.DisplayName, StoreObjectSchema.ContainerClass, FolderSchema.IsOutlookSearchFolder, FolderSchema.AdminFolderFlags, StoreObjectSchema.ParentEntryId })) { displayName = folder.DisplayName; string className = folder.ClassName; if (Utilities.IsOutlookSearchFolder(folder)) { throw new OwaInvalidRequestException("Cannot Copy or Move Search Folders"); } if (!this.CanFolderHaveSubFolders(owaStoreObjectId2)) { throw new OwaInvalidRequestException("Cannot Copy or Move a folder to this destination"); } if (Utilities.IsELCFolder(folder)) { throw new OwaInvalidRequestException(string.Format("Cannot {0} ELC folders.", isCopy ? "Copy" : "Move")); } if (!isCopy && ((!owaStoreObjectId.IsPublic && Utilities.IsSpecialFolderForSession(folder.Session as MailboxSession, owaStoreObjectId.StoreObjectId)) || Utilities.IsOneOfTheFolderFlagsSet(folder, new ExtendedFolderFlags[] { ExtendedFolderFlags.RemoteHierarchy }))) { throw new OwaInvalidRequestException("Cannot move folders that are special or controlled remotely."); } if (base.UserContext.IsPublicFolderRootId(owaStoreObjectId.StoreObjectId)) { throw new OwaEventHandlerException("Copy/move public root folder is not supported", LocalizedStrings.GetNonEncoded(-177785786), true); } bool flag = owaStoreObjectId.IsPublic || (bool)base.GetParameter("fSrcD"); bool flag2 = owaStoreObjectId2.IsPublic || (bool)base.GetParameter("fDstD"); bool flag3 = !isCopy && owaStoreObjectId.IsArchive != owaStoreObjectId2.IsArchive; if (((!flag || !flag2) && (!isCopy || !flag2) && (isCopy || flag || flag2)) || flag3) { navigationTreeDirtyFlag = this.CheckNavigationTreeDirtyFlag(folder, true); if (isCopy || flag) { navigationTreeDirtyFlag &= ~NavigationTreeDirtyFlag.Favorites; } } } if (owaStoreObjectId2.IsArchive) { navigationTreeDirtyFlag |= NavigationTreeDirtyFlag.Favorites; } OperationResult operationResult = Utilities.CopyOrMoveFolder(base.UserContext, isCopy, owaStoreObjectId2, new OwaStoreObjectId[] { owaStoreObjectId }).OperationResult; if (operationResult == OperationResult.Failed) { throw new OwaEventHandlerException(isCopy ? "Copy returned an OperationResult.Failed" : "Move returned an OperationResult.Failed", LocalizedStrings.GetNonEncoded(-1597406995)); } if (operationResult == OperationResult.PartiallySucceeded) { throw new OwaEventHandlerException((isCopy ? "Copy" : "Move") + " returned an OperationResult.PartiallySucceeded", LocalizedStrings.GetNonEncoded(2109230231)); } bool flag4 = true; if (!isCopy && owaStoreObjectId.IsPublic == owaStoreObjectId2.IsPublic && owaStoreObjectId.IsArchive == owaStoreObjectId2.IsArchive && StringComparer.InvariantCultureIgnoreCase.Equals(owaStoreObjectId.MailboxOwnerLegacyDN, owaStoreObjectId2.MailboxOwnerLegacyDN)) { flag4 = false; } OwaStoreObjectId newFolderId; if (flag4) { newFolderId = this.GetSubFolderIdByName(owaStoreObjectId2, displayName); } else { newFolderId = owaStoreObjectId; } this.RenderFolderTreeChangedNode(owaStoreObjectId2, newFolderId, isExpanded, owaStoreObjectId2.IsArchive, (FolderTreeRenderType)base.GetParameter("rdt")); RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, navigationTreeDirtyFlag, (NavigationModule[])base.GetParameter("cms")); }
public void Delete() { OwaStoreObjectId owaStoreObjectId = (OwaStoreObjectId)base.GetParameter("id"); if (owaStoreObjectId.IsOtherMailbox || owaStoreObjectId.IsGSCalendar) { throw new OwaInvalidRequestException("Cannot perform delete on shared folder"); } ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "TreeEventHandler.Delete"); if (Utilities.IsDefaultFolderId(base.UserContext, owaStoreObjectId, DefaultFolderType.SearchFolders)) { throw new OwaInvalidRequestException("Cannot Delete Search Folders"); } bool flag = (bool)base.GetParameter("fSrcD"); bool flag2 = flag || owaStoreObjectId.IsPublic || (bool)base.GetParameter("pd"); NavigationTreeDirtyFlag flag3 = NavigationTreeDirtyFlag.None; using (Folder folder = Utilities.GetFolder <Folder>(base.UserContext, owaStoreObjectId, new PropertyDefinition[] { StoreObjectSchema.ContainerClass, FolderSchema.IsOutlookSearchFolder, FolderSchema.AdminFolderFlags, StoreObjectSchema.ParentEntryId })) { string className = folder.ClassName; if (Utilities.IsOutlookSearchFolder(folder)) { throw new OwaInvalidRequestException("Cannot Delete Search Folders"); } if (Utilities.IsELCFolder(folder)) { throw new OwaInvalidRequestException("Cannot Delete ELC folders."); } if (Utilities.IsOneOfTheFolderFlagsSet(folder, new ExtendedFolderFlags[] { ExtendedFolderFlags.RemoteHierarchy })) { throw new OwaInvalidRequestException("Cannot delete a folder that is controlled remotely."); } if (!flag2 || (!owaStoreObjectId.IsPublic && !flag)) { flag3 = this.CheckNavigationTreeDirtyFlag(folder, true); } } OperationResult operationResult = Utilities.Delete(base.UserContext, flag2, new OwaStoreObjectId[] { owaStoreObjectId }).OperationResult; if (operationResult == OperationResult.Failed) { Strings.IDs localizedId = flag2 ? -1691273193 : 1041829989; throw new OwaEventHandlerException("Delete returned an OperationResult.Failed", LocalizedStrings.GetNonEncoded(localizedId)); } if (operationResult == OperationResult.PartiallySucceeded) { throw new OwaAccessDeniedException(LocalizedStrings.GetNonEncoded(995407892)); } if (!flag2) { this.RenderFolderTreeChangedNode(base.UserContext.GetDeletedItemsFolderId((MailboxSession)owaStoreObjectId.GetSession(base.UserContext)), owaStoreObjectId, false, false, FolderTreeRenderType.None); } RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, flag3, (NavigationModule[])base.GetParameter("cms")); }
public void New() { ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "TreeEventHandler.New"); OwaStoreObjectId owaStoreObjectId = (OwaStoreObjectId)base.GetParameter("destId"); if (owaStoreObjectId.IsOtherMailbox) { throw new OwaInvalidRequestException("Cannot add new folder underneath a shared folder"); } string text = (string)base.GetParameter("fC"); string text2 = (string)base.GetParameter("fN"); bool isExpanded = (bool)base.GetParameter("exp"); if (Utilities.IsDefaultFolderId(base.UserContext, owaStoreObjectId, DefaultFolderType.SearchFolders)) { throw new OwaInvalidRequestException("Cannot Create new Search Folder through OWA"); } if (Utilities.IsELCRootFolder(owaStoreObjectId, base.UserContext)) { throw new OwaInvalidRequestException("Cannot create new folders under the root ELC folder."); } text2 = text2.Trim(); if (text2.Length == 0) { throw new OwaEventHandlerException("User did not provide name for new folder", LocalizedStrings.GetNonEncoded(-41080803), true); } StoreObjectType objectType = owaStoreObjectId.StoreObjectId.ObjectType; if (!this.CanFolderHaveSubFolders(owaStoreObjectId)) { throw new OwaInvalidRequestException("Cannot Create new Search Folder through OWA"); } using (Folder folder = Utilities.CreateSubFolder(owaStoreObjectId, objectType, text2, base.UserContext)) { folder.ClassName = text; try { folder.Save(); } catch (ObjectExistedException) { throw; } catch (StoragePermanentException innerException) { throw new OwaAccessDeniedException(LocalizedStrings.GetNonEncoded(995407892), innerException); } folder.Load(); OwaStoreObjectId newFolderId = OwaStoreObjectId.CreateFromStoreObject(folder); this.RenderFolderTreeChangedNode(owaStoreObjectId, newFolderId, isExpanded, owaStoreObjectId.IsArchive, (FolderTreeRenderType)base.GetParameter("rdt")); NavigationTreeDirtyFlag navigationTreeDirtyFlag = FolderTreeNode.GetAffectedTreeFromContainerClass(text); if (owaStoreObjectId.IsArchive) { navigationTreeDirtyFlag |= NavigationTreeDirtyFlag.Favorites; } if (navigationTreeDirtyFlag != NavigationTreeDirtyFlag.Favorites || owaStoreObjectId.IsArchive) { RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, navigationTreeDirtyFlag, (NavigationModule[])base.GetParameter("cms")); } } }
public void AddSharedCalendar() { using (SharingMessageItem requestItem = base.GetRequestItem <SharingMessageItem>(new PropertyDefinition[0])) { if (requestItem == null || !requestItem.SharingMessageType.IsInvitationOrAcceptOfRequest || requestItem.SharedFolderType != DefaultFolderType.Calendar) { throw new OwaInvalidRequestException("Not a calendar sharing message"); } this.ValidateSharingAction(SharingAction.AddCalendar, requestItem); SubscribeResults subscribeResults = null; try { subscribeResults = requestItem.SubscribeAndOpen(); } catch (NotSupportedWithMailboxVersionException) { throw new OwaInvalidRequestException("Your account isn't set up to allow calendars to be added from the Internet."); } catch (StoragePermanentException ex) { string message = string.Format("Unable to subscribe shared calendar folder. Exception {0}", ex.Message); ExTraceGlobals.CalendarCallTracer.TraceDebug(0L, message); this.RenderSubscriptionError(ex); return; } if (subscribeResults is SubscribeResultsInternal) { SubscribeResultsInternal subscribeResultsInternal = (SubscribeResultsInternal)subscribeResults; string text = StoreEntryId.TryParseMailboxLegacyDN(subscribeResultsInternal.RemoteMailboxId); ExchangePrincipal exchangePrincipal; if (base.UserContext.DelegateSessionManager.TryGetExchangePrincipal(text, out exchangePrincipal)) { try { if (requestItem.IsSharedFolderPrimary) { if (!string.Equals(text, base.UserContext.MailboxOwnerLegacyDN, StringComparison.OrdinalIgnoreCase)) { NavigationNodeCollection.AddGSCalendarToSharedFoldersGroup(base.UserContext, exchangePrincipal); } } else { using (OwaStoreObjectIdSessionHandle owaStoreObjectIdSessionHandle = new OwaStoreObjectIdSessionHandle(exchangePrincipal, base.UserContext)) { OwaStoreObjectId folderId = OwaStoreObjectId.CreateFromSessionFolderId(base.UserContext, owaStoreObjectIdSessionHandle.Session, subscribeResultsInternal.RemoteFolderId); using (Folder folder = Utilities.GetFolder <Folder>(base.UserContext, folderId, FolderList.FolderTreeQueryProperties)) { if (!Utilities.CanReadItemInFolder(folder)) { this.RenderNotFoundResponse(); return; } NavigationNodeCollection.AddNonMailFolderToSharedFoldersGroup(base.UserContext, folder, NavigationNodeGroupSection.Calendar); } } } goto IL_1A2; } catch (OwaSharedFromOlderVersionException) { this.RenderSharedFromE12Response(); return; } catch (ObjectNotFoundException) { this.RenderNotFoundResponse(); return; } } this.RenderNotFoundResponse(); return; } if (subscribeResults is SubscribeResultsExternal) { OwaStoreObjectId folderId = OwaStoreObjectId.CreateFromMailboxFolderId(((SubscribeResultsExternal)subscribeResults).LocalFolderId); } IL_1A2: this.RenderChangeKey(requestItem); ExDateTime now = ExDateTime.GetNow(base.UserContext.TimeZone); this.Writer.Write("<div id=\"subInfo\">"); this.Writer.Write(SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(388258761), new object[] { now.ToString(base.UserContext.UserOptions.DateFormat), now.ToString(base.UserContext.UserOptions.TimeFormat) })); this.Writer.Write("</div>"); RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, NavigationTreeDirtyFlag.Calendar, new NavigationModule[] { NavigationModule.Calendar }); } }
private void ProcessMessageRequest(MessageAction action) { SharingMessageItem sharingMessageItem = null; bool flag = false; RecipientInfoAC[] array = (RecipientInfoAC[])base.GetParameter("Recips"); if (array != null && array.Length != 0) { AutoCompleteCache.UpdateAutoCompleteCacheFromRecipientInfoList(array, base.OwaContext.UserContext); } SharingMessageItem requestItem; sharingMessageItem = (requestItem = base.GetRequestItem <SharingMessageItem>(new PropertyDefinition[0])); try { if (!sharingMessageItem.IsPublishing && (sharingMessageItem.SharingMessageType.IsInvitationOrAcceptOfRequest || sharingMessageItem.SharingMessageType.IsRequest)) { SharingLevel level = this.UpdateInviteOrRequestProperties(sharingMessageItem); this.SetSharingLevel(sharingMessageItem, level); } bool flag2 = base.UpdateMessage(sharingMessageItem, StoreObjectType.Message); if (action == MessageAction.Save) { ExTraceGlobals.MailTracer.TraceDebug((long)this.GetHashCode(), "Saving Sharing message"); Utilities.SaveItem(sharingMessageItem, true); this.RenderChangeKey(sharingMessageItem); } else if (action == MessageAction.Send) { if (flag2) { throw new OwaEventHandlerException("Unresolved recipients", LocalizedStrings.GetNonEncoded(2063734279)); } if (sharingMessageItem.Recipients.Count == 0 && action == MessageAction.Send) { throw new OwaEventHandlerException("No recipients", LocalizedStrings.GetNonEncoded(1878192149)); } if (Utilities.RecipientsOnlyHaveEmptyPDL <Recipient>(base.UserContext, sharingMessageItem.Recipients)) { base.RenderPartialFailure(1389137820); return; } ExTraceGlobals.MailTracer.TraceDebug((long)this.GetHashCode(), "Sending sharing message"); bool flag3 = false; if (base.IsParameterSet("ForceSend")) { flag3 = (bool)base.GetParameter("ForceSend"); } sharingMessageItem.SetSubmitFlags(flag3 ? SharingSubmitFlags.Auto : SharingSubmitFlags.None); try { if (flag) { sharingMessageItem.SendWithoutSavingMessage(); } else { sharingMessageItem.Send(); } } catch (ObjectNotFoundException e) { this.SendIdAndChangeKeyToClientOnError(sharingMessageItem, e); this.SanitizingWriter.Write("<p id=\"err\" _msg=\""); this.SanitizingWriter.Write(LocalizedStrings.GetNonEncoded(-1608187286), sharingMessageItem.SharedFolderName); this.SanitizingWriter.Write("\""); this.SanitizingWriter.Write(" _shareErr=\""); this.SanitizingWriter.Write(1); this.SanitizingWriter.Write("\"></p>"); } catch (InvalidSharingRecipientsException ex) { this.SendIdAndChangeKeyToClientOnError(sharingMessageItem, ex); this.SanitizingWriter.Write("<div id=\"err\" _msg=\"\" _shareErr=\""); SharingPolicy sharingPolicy = DirectoryHelper.ReadSharingPolicy(base.UserContext.MailboxSession.MailboxOwner.MailboxInfo.MailboxGuid, base.UserContext.MailboxSession.MailboxOwner.MailboxInfo.IsArchive, base.UserContext.MailboxSession.GetADRecipientSession(true, ConsistencyMode.IgnoreInvalid)); if (sharingPolicy != null && sharingPolicy.IsAllowedForAnonymousCalendarSharing() && ex.InvalidRecipientsResolution != null) { switch (ex.InvalidRecipientsResolution.Resolution) { case InvalidSharingRecipientsResolutionType.PublishAndTryAgain: this.SanitizingWriter.Write(3); this.SanitizingWriter.Write("\" _folderId=\""); this.SanitizingWriter.Write(ex.InvalidRecipientsResolution.FolderId); this.SanitizingWriter.Write("\">"); this.RenderPublishAndTryAgainDialog(ex); break; case InvalidSharingRecipientsResolutionType.SendPublishLinks: this.SanitizingWriter.Write(4); this.SanitizingWriter.Write("\">"); this.RenderSendPublishLinksDialog(ex); break; default: throw; } } else { this.SanitizingWriter.Write(2); this.SanitizingWriter.Write("\">"); this.RenderInvalidRecipientsDialog(ex); } this.SanitizingWriter.Write("</div>"); } catch (Exception e2) { this.SendIdAndChangeKeyToClientOnError(sharingMessageItem, e2); throw; } if (Globals.ArePerfCountersEnabled) { OwaSingleCounters.MessagesSent.Increment(); } } RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, NavigationTreeDirtyFlag.Calendar, new NavigationModule[] { NavigationModule.Calendar }); } finally { if (requestItem != null) { ((IDisposable)requestItem).Dispose(); } } }
public void Remove() { base.ThrowIfCannotActAsOwner(); StoreObjectId nodeId = (StoreObjectId)base.GetParameter("srcNId"); NavigationNodeGroupSection navigationNodeGroupSection = (NavigationNodeGroupSection)base.GetParameter("GS"); NavigationNodeCollection navigationNodeCollection = NavigationNodeCollection.TryCreateNavigationNodeCollection(base.UserContext, base.UserContext.MailboxSession, navigationNodeGroupSection); List <OwaStoreObjectId> list = new List <OwaStoreObjectId>(); NavigationNode navigationNode = navigationNodeCollection.FindNavigationNodeByNodeId(nodeId); if (navigationNode == null) { base.RenderPartialFailure(-289549140, OwaEventHandlerErrorCode.NotSet); } else { OperationResult operationResult = (OperationResult)0; if (navigationNodeGroupSection != NavigationNodeGroupSection.First) { List <NavigationNodeFolder> list2 = new List <NavigationNodeFolder>(); if (navigationNode is NavigationNodeFolder) { list2.Add(navigationNode as NavigationNodeFolder); } else if (navigationNode is NavigationNodeGroup) { NavigationNodeGroup navigationNodeGroup = navigationNode as NavigationNodeGroup; foreach (NavigationNodeFolder item in navigationNodeGroup.Children) { list2.Add(item); } } foreach (NavigationNodeFolder navigationNodeFolder in list2) { if (navigationNodeFolder.IsValid) { OwaStoreObjectId owaStoreObjectId = OwaStoreObjectId.CreateFromNavigationNodeFolder(base.UserContext, navigationNodeFolder); MailboxSession mailboxSession = owaStoreObjectId.IsArchive ? ((MailboxSession)owaStoreObjectId.GetSession(base.UserContext)) : base.UserContext.MailboxSession; if (navigationNodeFolder.IsFolderInSpecificMailboxSession(mailboxSession)) { if (Utilities.IsSpecialFolderForSession(mailboxSession, navigationNodeFolder.FolderId)) { throw new OwaEventHandlerException("Cannot delete default folders.", LocalizedStrings.GetNonEncoded(-1164567320), true); } if (operationResult == (OperationResult)0) { operationResult = OperationResult.Succeeded; } AggregateOperationResult aggregateOperationResult = mailboxSession.Delete(DeleteItemFlags.MoveToDeletedItems, new StoreId[] { navigationNodeFolder.FolderId }); if (aggregateOperationResult.OperationResult == OperationResult.Succeeded) { list.Add(OwaStoreObjectId.CreateFromNavigationNodeFolder(base.UserContext, navigationNodeFolder)); } else { operationResult = OperationResult.PartiallySucceeded; } } } } if (operationResult != (OperationResult)0 && list.Count == 0) { operationResult = OperationResult.Failed; } if (operationResult == OperationResult.Failed) { base.RenderPartialFailure(1041829989, OwaEventHandlerErrorCode.NotSet); } else if (operationResult == OperationResult.PartiallySucceeded) { base.RenderPartialFailure(995407892, OwaEventHandlerErrorCode.NotSet); } } else { NavigationNodeFolder navigationNodeFolder2 = navigationNode as NavigationNodeFolder; if (navigationNodeFolder2 != null && navigationNodeFolder2.IsFilteredView) { OwaStoreObjectId owaStoreObjectId2 = OwaStoreObjectId.CreateFromNavigationNodeFolder(base.UserContext, navigationNodeFolder2); using (SearchFolder searchFolder = SearchFolder.Bind(owaStoreObjectId2.GetSession(base.UserContext), owaStoreObjectId2.StoreObjectId, FolderList.FolderTreeQueryProperties)) { searchFolder[FolderSchema.SearchFolderAllowAgeout] = true; searchFolder.DisplayName = Utilities.GetRandomNameForTempFilteredView(base.UserContext); searchFolder.Save(); } } } if (operationResult == (OperationResult)0 || operationResult == OperationResult.Succeeded) { if (navigationNodeCollection.RemoveFolderOrGroupByNodeId(nodeId) != null) { navigationNodeCollection.Save(base.UserContext.MailboxSession); } } else if (operationResult == OperationResult.PartiallySucceeded) { foreach (OwaStoreObjectId owaStoreObjectId3 in list) { navigationNodeCollection.RemoveFolderByLegacyDNandId(owaStoreObjectId3.MailboxOwnerLegacyDN ?? base.UserContext.MailboxOwnerLegacyDN, owaStoreObjectId3.StoreObjectId); } navigationNodeCollection.Save(base.UserContext.MailboxSession); } } NavigationTreeDirtyFlag navigationTreeDirtyFlag = NavigationTreeDirtyFlag.None; if (navigationNodeGroupSection == NavigationNodeGroupSection.First) { navigationTreeDirtyFlag = NavigationTreeDirtyFlag.Favorites; } else { if (list.Count > 0) { List <FolderTreeNode> list3 = FolderTreeNode.CreateDeletedNodesWithDirtyCheck(base.UserContext, list, out navigationTreeDirtyFlag); this.Writer.Write("<div id=tn>"); foreach (FolderTreeNode folderTreeNode in list3) { folderTreeNode.RenderUndecoratedNode(this.Writer); } this.Writer.Write("</div>"); } switch (navigationNodeGroupSection) { case NavigationNodeGroupSection.Calendar: navigationTreeDirtyFlag |= NavigationTreeDirtyFlag.Calendar; break; case NavigationNodeGroupSection.Contacts: navigationTreeDirtyFlag |= NavigationTreeDirtyFlag.Contact; break; case NavigationNodeGroupSection.Tasks: navigationTreeDirtyFlag |= NavigationTreeDirtyFlag.Task; break; } } RenderingUtilities.RenderNavigationTreeDirtyFlag(this.Writer, base.UserContext, navigationTreeDirtyFlag, (NavigationModule[])base.GetParameter("cms")); }