Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 protected BasePlugin()
 {
     RecordsPersisted = new Dictionary <Type, long>();
     Log = PluginLogFactory.GetLogger(this.GetType());
 }