public MockPluginRepository() { Count = 0; PluginsByType = new IPlugin[0]; DiscReaderPlugins = new IDiscReaderPlugin[0]; MetadataProviderPlugins = new IMetadataProviderPlugin[0]; AutoDetectorPlugins = new IAutoDetectorPlugin[0]; NameProviderPlugins = new INameProviderPlugin[0]; MuxerPlugins = new IMuxerPlugin[0]; PostProcessorPlugins = new IPostProcessorPlugin[0]; }
private void AutoDetect(CancellationToken cancellationToken, IAutoDetectorPlugin plugin) { RunPluginSync(cancellationToken, plugin, token => plugin.AutoDetect(token, Job)); }
private void AutoDetect(CancellationToken cancellationToken, IAutoDetectorPlugin plugin) { RunPluginSync(cancellationToken, plugin, token => plugin.AutoDetect(token, Job)); }