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 PostProcess(CancellationToken cancellationToken, IPostProcessorPlugin plugin) { RunPluginSync(cancellationToken, plugin, token => plugin.PostProcess(token, Job)).RunSynchronously(); }