Beispiel #1
0
        public void TestBinder()
        {
            var binder = new NewBinder();

            Center.Init(binder);
            Center.Get <INewComponent>();
            Center.Get <INewComponent>();//reget
            Assert.IsTrue(Center.IsComponentExist <INewComponent>());
            Center.Remove <INewComponent>();
            Assert.IsFalse(Center.IsComponentExist <INewComponent>());
        }
Beispiel #2
0
        public void TestInit()
        {
            var binder = new NewBinder();

            Center.Init(binder);
        }