public void SetUpContext() { FakeAssemblyRegistry = MockRepository.GenerateStub <AssemblyRegistry>(); FakeExtensionMethodHandler = MockRepository.GenerateStub <IExtensionMethodHandler>(); Provider = new StepProvider(FakeAssemblyRegistry, new ContextTypeFactory(FakeExtensionMethodHandler)); }
public InterpreterForTypeFactory(AssemblyRegistry assemblyRegistry) { _extensionMethodHandler = new ExtensionMethodHandler(assemblyRegistry); _contextTypeFactory = new ContextTypeFactory(_extensionMethodHandler); }
public InterpreterForTypeFactory(AssemblyRegistry assemblyRegistry) { _extensionMethodHandler = new ExtensionMethodHandler(assemblyRegistry); _contextTypeFactory = new ContextTypeFactory(_extensionMethodHandler); }
public ExtensionMatcherFactory(IExtensionMethodHandler extensionMethodHandler) { _extensionMethodHandler = extensionMethodHandler; }
public ContextTypeFactory(IExtensionMethodHandler extensionMethodHandler) { _extensionMethodHandler = extensionMethodHandler; _matcherFactories = new IMatcherFactory[] { new RegExMatcherFactory(), new ReflectionMatcherFactory(), new ExtensionMatcherFactory(_extensionMethodHandler) }; }
public ExtensionMatcherFactory(IExtensionMethodHandler extensionMethodHandler) { _extensionMethodHandler = extensionMethodHandler; }
public ContextTypeFactory(IExtensionMethodHandler extensionMethodHandler) { _extensionMethodHandler = extensionMethodHandler; _matcherFactories = new IMatcherFactory[] { new RegExMatcherFactory(), new ReflectionMatcherFactory(), new ExtensionMatcherFactory(_extensionMethodHandler) }; }