/// <summary> /// /// </summary> public void Ninject() { var ninjectLoader = new ModuleLoader(null); var resolver = new StandardBindingResolver(); var bindingResolver = new OpenGenericBindingResolver(); var cache = new Cache(null, null); var pipeline = new Pipeline(null, null); var activationCache = new ActivationCache(null); var gccp = new GarbageCollectionCachePruner(); var acs = new ActivationCacheStrategy(null); var pis = new PropertyInjectionStrategy(null); var rif = new ReflectionInjectorFactory(); var mis = new MethodInjectionStrategy(); var initStrategy = new InitializableStrategy(); var startableStrategy = new StartableStrategy(); var bas = new BindingActionStrategy(); var ds = new DisposableStrategy(); var planner = new Planner(null); var crs = new ConstructorReflectionStrategy(null, null); var selector = new Selector(null, null); var scs = new StandardConstructorScorer(); var sih = new StandardInjectionHeuristic(); var prs = new PropertyReflectionStrategy(null, null); var mrs = new MethodReflectionStrategy(null, null); var dvbr = new DefaultValueBindingResolver(); var selfBindingResolver = new SelfBindingResolver(null); var bindingPrecedenceComparer = new BindingPrecedenceComparer(); }
public StartableStrategyTests() { _contextMock = new Mock <IContext>(MockBehavior.Strict); _strategy = new StartableStrategy(); }
public StartableStrategyContext() { this.contextMock = new Mock <IContext>(); this.strategy = new StartableStrategy(); }
public StartableStrategyContext() { contextMock = new Mock <IContext>(); strategy = new StartableStrategy(); }