protected BasePlugin(IPluginRequest pluginRequest) { this.pluginRequest = pluginRequest; MongoDatabase = pluginRequest.MongoDatabase; Type pluginType = GetType(); Log = PluginLogFactory.GetLogger(pluginType); ExtractFactory = new ExtractPersisterFactory(pluginRequest.OutputDirectory, Log, pluginRequest.TempDirectory, pluginRequest.LogDirectory); }
protected BasePlugin() { RecordsPersisted = new Dictionary <Type, long>(); Log = PluginLogFactory.GetLogger(this.GetType()); }