public DocumentationGenerator(IAssemblyLoader assemblyLoader, IXmlLoader xmlLoader, IAssemblyXmlParser parser, IBulkPageWriter writer, IUntransformableResourceManager resourceManager) { this.assemblyLoader = assemblyLoader; this.xmlLoader = xmlLoader; this.parser = parser; this.writer = writer; this.resourceManager = resourceManager; }
public DocumentationGenerator(IAssemblyLoader assemblyLoader, IXmlLoader xmlLoader, IAssemblyXmlParser parser, IBulkPageWriter writer, IUntransformableResourceManager resourceManager, IEventAggregator eventAggregator) { this.assemblyLoader = assemblyLoader; this.xmlLoader = xmlLoader; this.parser = parser; this.writer = writer; this.resourceManager = resourceManager; this.eventAggregator = eventAggregator; }
public void CreateStubs() { StubWriter = MockRepository.GenerateStub<IBulkPageWriter>(); StubParser = MockRepository.GenerateStub<IAssemblyXmlParser>(); StubResourceManager = MockRepository.GenerateStub<IUntransformableResourceManager>(); StubAssemblyLoader = MockRepository.GenerateStub<IAssemblyLoader>(); StubXmlLoader = MockRepository.GenerateStub<IXmlLoader>(); StubAssemblyLoader.Stub(x => x.LoadFrom(null)) .IgnoreArguments() .Return(typeof(DocumentationGenerator).Assembly); }
public void CreateStubs() { StubWriter = MockRepository.GenerateStub <IBulkPageWriter>(); StubParser = MockRepository.GenerateStub <IAssemblyXmlParser>(); StubResourceManager = MockRepository.GenerateStub <IUntransformableResourceManager>(); StubAssemblyLoader = MockRepository.GenerateStub <IAssemblyLoader>(); StubXmlLoader = MockRepository.GenerateStub <IXmlLoader>(); StubEventAggregator = MockRepository.GenerateStub <IEventAggregator>(); StubAssemblyLoader.Stub(x => x.LoadFrom(null)) .IgnoreArguments() .Return(typeof(DocumentationGenerator).Assembly); }