Пример #1
0
        public void Creation_NoIgnite()
        {
            DIBuilder.Eject(); // Be doubly sure

            Action act = () =>
            {
                var _ = new SiteModelChangeProcessorItemHandler();
            };

            if (DIContext.DefaultIsRequired)
            {
                act.Should().Throw <Exception>().WithMessage("DIContext service provider not available");
            }
            else
            {
                act.Should().Throw <TRexException>().WithMessage("Failed to obtain immutable Ignite reference");
            }
        }
Пример #2
0
 public void Dispose()
 {
     DIBuilder.Eject();
 }
Пример #3
0
 public void GlobalCleanup()
 {
     DIBuilder.Eject();
     design       = null;
     readonly_tin = null;
 }
Пример #4
0
 public virtual void Dispose()
 {
     ClearHelpers();
     DIBuilder.Eject();
 }
Пример #5
0
        public new void Dispose()
        {
            base.Dispose();

            DIBuilder.Eject();
        }
Пример #6
0
 public void GlobalCleanup()
 {
     DIBuilder.Eject();
 }