public void Setup()
 {
     CM = ContextSystem.Manager;
     CM.RegisterCustomContextImplementation(typeof(NamedDependenciesContextImpl), typeof(INamedDependenciesContext2));
     CM.RegisterCustomContextImplementation(typeof(NamedDependenciesContextImpl), typeof(INamedDependenciesContext));
     CM.RegisterCustomContextImplementation(typeof(NamedDependenciesContextImpl), typeof(INamedDependenciesContext2a));
 }
 public void Setup()
 {
     CM = ContextSystem.Manager;
     CM.RegisterCustomContextImplementation(typeof(CompoundContextImp), typeof(ICompoundContext));
     CM.RegisterCustomContextImplementation(typeof(JoinContextImp), typeof(IJoinContext));
     CM.RegisterCustomContextImplementation(typeof(WorkingJoinContextImp), typeof(IWorkingJoinContext));
 }
 public void Setup()
 {
     CM = ContextSystem.Manager;
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop), typeof(IDependencyTestContext));
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop), typeof(IDependencyTestContext2));
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop), typeof(IDependencyTestContext2a));
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop),
                                            typeof(IDependencyTestContextAttributed));
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop), typeof(IDependencyTestCyclic));
     CM.RegisterCustomContextImplementation(typeof(DependencyTestContextTop), typeof(IDependencyTestProperyInjection));
 }
예제 #4
0
 public void Setup()
 {
     CM = ContextSystem.Manager;
     CM.RegisterCustomContextImplementation(typeof(TestContextImpl), typeof(ITestContext));
 }