Exemple #1
0
        public void RemoveFallbackContainer()
        {
            if (_fallbackContainer == null)
            {
                return;
            }

            _registry.RemoveFallbackContainer();
        }
        public void removing_fallback_handles()
        {
            object fallbackContainer = new object();

            registry.SetFallbackContainer(fallbackContainer);
            registry.RemoveFallbackContainer();

            Assert.That(registry.FindParentBinding(new object()), Is.Null);
            Assert.That(registry.FallbackBinding, Is.Null);
        }