public ET_Engine(IDataSourceFactory dataSourceFactory, IDataResolver dataResolver, IDataSinkFactory dataSinkFactory, IEtLogger logger, IDiskIOHandler diskIOHandler, RuntimeArgs runtimeSettings) { this._dataSourceFactory = dataSourceFactory; this._dataMapHandler = dataResolver; this._dataSinkFactory = dataSinkFactory; this._logger = logger; this._diskIOHandler = diskIOHandler; this._runtimeSettings = runtimeSettings; this._toSinkDataChainBuilder = new SourceToSinkDataChainBuilder(logger); }
public DataCleanerConfig(RuntimeArgs runtimeArgs, IDiskIOHandler iOHandler) { this._cleanerConfigFileName = runtimeArgs.DefaultCleanerConfig; this._iOHandler = iOHandler; this._cleanerConfigs = JsonConvert.DeserializeObject <Dictionary <string, Dictionary <string, KeyValuePair <string, string> > > >(this._iOHandler.FileReadAllText(this._cleanerConfigFileName)); }