public BaseBatchForm(IInternalPluginManager pluginManager) { ContractAssertions.IsNotNull(pluginManager, nameof(pluginManager)); InitializeComponent(); Logger = InitializeLogger(); _batchProcessor = InitializeBatchProcessor(pluginManager, Logger); _avgTimer = new System.Timers.Timer(300); _avgTimer.Elapsed += avgTimer_Elapsed; var loadedPlugins = LoadPlugins(pluginManager); cmbPlugins.Items.Add(PluginElement.Empty); foreach (var loadedPlugin in loadedPlugins) { cmbPlugins.Items.Add(loadedPlugin); } cmbPlugins.SelectedIndex = 0; }
protected override BaseBatchProcessor InitializeBatchProcessor(IInternalPluginManager pluginManager, ILogger logger) { return(new BatchExtractor(pluginManager, logger)); }
public BatchExtractDialog(IInternalPluginManager pluginManager) : base(pluginManager) { }
public BatchExtractor(IInternalPluginManager pluginManager, ILogger logger) : base(pluginManager, logger) { }
private IList <PluginElement> LoadPlugins(IInternalPluginManager pluginManager) { return(pluginManager.GetFilePlugins().Select(x => new PluginElement(x)).OrderBy(x => x.ToString()).ToArray()); }
protected abstract BaseBatchProcessor InitializeBatchProcessor(IInternalPluginManager pluginManager, ILogger logger);
public MainContext(IInternalPluginManager pluginManager, IProgressContext progressContext) : base(pluginManager, progressContext) { }
public BatchExtractionForm(IInternalPluginManager pluginManager) : base(pluginManager) { }
public BaseFileContext(IInternalPluginManager pluginManager, ContextNode parentContextNode) { PluginManager = pluginManager; ContextNode = parentContextNode; }
public BaseFileContext(IInternalPluginManager pluginManager) { PluginManager = pluginManager; ContextNode = new ContextNode(); }
public AnmcRessource(IInternalPluginManager pluginManager) { ContractAssertions.IsNotNull(pluginManager, nameof(pluginManager)); _pluginManager = pluginManager; }
protected override BaseBatchProcessor InitializeBatchProcessor(IInternalPluginManager pluginManager, IConcurrentLogger logger) { return(new BatchInjector(pluginManager, logger)); }
public static IEnumerable <IGameAdapter> GetGameAdapters(this IInternalPluginManager pluginManager) { return(pluginManager.GetGamePluginLoaders().SelectMany(x => x.Plugins)); }
public static IEnumerable <IFilePlugin> GetNonIdentifiableFilePlugins(this IInternalPluginManager pluginManager) { return(pluginManager.GetFilePluginLoaders().GetNonIdentifiableFilePlugins()); }
public MainContext(IInternalPluginManager pluginManager) : base(pluginManager) { }