/// <summary> /// This event is fired when the scope was changed /// </summary> public virtual void EventScopeChanged(bool SetReq) { if (TheBaseAssets.MyApplication != null && TheBaseAssets.MyApplication.MyCommonDisco != null) { TheBaseAssets.MyApplication.MyCommonDisco.UpdateContextID(); } TheQueuedSenderRegistry.UpdateLocalHostScope(); if (TheBaseAssets.MyServiceHostInfo.AreAllEnginesStarted) { TheQueuedSenderRegistry.ReinitCloudRoutes(); TheUserManager.ResetUserScopes(true); } }