public DrawRunner( IDrawRunnerOptions options, IProcessRunner processRunner, IRepositoryDataLoader loader, ITreeBuilder treeBuilder, ISimplifier simplifier, IFileSystem fileSystem, ITreeRendererFactory treeRendererFactory, IGraphVizWriterFactory graphVizFactory, IRemoteHelper remoteHelper, ITextWriterFactory textWriterFactory, IExternalAppPathProvider appPathProvider, IBranchingStrategyProvider strategyProvider, ILogger <DrawRunner> log) : base(options, log) { _processRunner = processRunner; _loader = loader; _treeBuilder = treeBuilder; _simplifier = simplifier; _fileSystem = fileSystem; _treeRendererFactory = treeRendererFactory; _graphVizFactory = graphVizFactory; _remoteHelper = remoteHelper; _textWriterFactory = textWriterFactory; _appPathProvider = appPathProvider; _strategyProvider = strategyProvider; }
/// <summary> /// Internal constructor for unit testing /// </summary> /// <param name="textWriterFactory"></param> /// <param name="logFilePath"></param> internal LocalFileLogger(ITextWriterFactory textWriterFactory, string logFilePath) { CodeContract.RequiresArgumentNotNullAndNotEmpty(logFilePath, "logFilePath"); CodeContract.RequiresArgumentNotNull <ITextWriterFactory>(textWriterFactory, "textWriterFactory"); FullLogPath = logFilePath; this.textWriterFactory = textWriterFactory; }
/// <summary> /// 指定文本编写器工厂和日志描述器,初始化一个 <see cref="Aoite.Logger.TextLogger"/> 类的新实例。 /// </summary> /// <param name="textWriterfactory">文本编写器工厂。</param> /// <param name="descriptor">日志描述器。</param> public TextLogger(ITextWriterFactory textWriterfactory, ILogDescriptor descriptor) { if(textWriterfactory == null) throw new ArgumentNullException(nameof(textWriterfactory)); if(descriptor == null) throw new ArgumentNullException(nameof(descriptor)); this._TextWriterFactory = textWriterfactory; this._Descriptor = descriptor; }
public QueryWindowPresenter(IClientConnectionManager clientConnectionManager, IQueryStatementParser queryStatementParser, IQueryPresenterLogger logger, IEnumerable <IQueryRunner> queryRunners, IQueryManager queryManager, ITextWriterFactory textWriter) : base(queryStatementParser) { _logger = logger; _logger.SetPresenter(this); _queryRunners = queryRunners; _clientConnectionManager = clientConnectionManager; _queryManager = queryManager; _textWriter = textWriter; }
/// <summary> /// 指定文本编写器工厂和日志描述器,初始化一个 <see cref="Aoite.Logger.TextLogger"/> 类的新实例。 /// </summary> /// <param name="textWriterfactory">文本编写器工厂。</param> /// <param name="descriptor">日志描述器。</param> public TextLogger(ITextWriterFactory textWriterfactory, ILogDescriptor descriptor) { if (textWriterfactory == null) { throw new ArgumentNullException("textWriterfactory"); } if (descriptor == null) { throw new ArgumentNullException("descriptor"); } this._TextWriterFactory = textWriterfactory; this._Descriptor = descriptor; }
public TransactionTask(ITextWriterFactory textWriter) { _textWriter = textWriter; }
public QuoteDumper(string instrument, IAlfaDirectFactory alfaFactory, ITextWriterFactory writerFactory) : base(alfaFactory, writerFactory) { this.instrument = instrument; }
public AclExpansionMultiFileHtmlWriter(ITextWriterFactory textWriterFactory, bool indentXml) { _textWriterFactory = textWriterFactory; _indentXml = indentXml; }
public TableDumper(IAlfaDirectFactory alfaFactory, ITextWriterFactory writerFactory) : base(alfaFactory) { this.writerFactory = writerFactory; }
public AclExpanderApplication(ITextWriterFactory textWriterFactory) { ArgumentUtility.CheckNotNull("textWriterFactory", textWriterFactory); _textWriterFactory = textWriterFactory; }