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>()); }
public void TestInit() { var binder = new NewBinder(); Center.Init(binder); }