Пример #1
0
        /// <summary>
        /// Stops the service from executing.
        /// </summary>
        public void Stop()
        {
            log.Debug("Stop called");

            Simias.Server.Catalog.StopCatalogService();
            Simias.IdentitySync.Service.Stop();

            if (syncProvider != null)
            {
                IdentitySync.Service.Unregister(syncProvider);
                syncProvider = null;
            }

            if (authProvider != null)
            {
                DomainProvider.Unregister(authProvider);
                authProvider = null;
            }

            if (userProvider != null)
            {
                User.UnregisterProvider(userProvider);
                userProvider = null;
            }
        }