public void BuilderAddsBindingsFromModuleAddedWithAddModule()
        {
            var builder = new StyletIoCBuilder();
            builder.AddModule(new ModuleA());
            var ioc = builder.BuildContainer();

            Assert.IsInstanceOf<C1>(ioc.Get<C1>());
        }
示例#2
0
        public void BuilderAddsBindingsFromModuleAddedWithAddModule()
        {
            var builder = new StyletIoCBuilder();

            builder.AddModule(new ModuleA());
            var ioc = builder.BuildContainer();

            Assert.IsInstanceOf <C1>(ioc.Get <C1>());
        }