コード例 #1
0
        public void Teardown()
        {
            if (_cacheHandler != null)
            {
                _cacheHandler.Unbind();
            }
            _cacheHandler = null;

            ServerRegistrarResolver.Reset();
            ServerMessengerResolver.Reset();
            CacheRefreshersResolver.Reset();
        }
コード例 #2
0
        public void Teardown()
        {
            if (_cacheHandler != null)
            {
                _cacheHandler.Unbind();
            }
            _cacheHandler = null;

            _onPublishedAssertAction       = null;
            content.HttpContextItemsGetter = null;
            ContentService.Published      -= OnPublishedAssert;
            SafeXmlReaderWriter.Cloning    = null;

            ServerRegistrarResolver.Reset();
            ServerMessengerResolver.Reset();
            CacheRefreshersResolver.Reset();
        }