/// <summary> /// Clears the analysis for a single plugin. /// </summary> /// <param name="plugin">The plugin.</param> public void ClearAnalysis(IBlockAnalyzerProjectPlugin plugin) { using (AcquireBlockLock(RequestLock.Write)) { previouslyAnalyzedPlugins.Remove(plugin); } }
/// <summary> /// Clears the analysis for a single plugin. /// </summary> /// <param name="plugin">The plugin.</param> public void ClearAnalysis(IBlockAnalyzerProjectPlugin plugin) { using (Project.Blocks.AcquireLock(RequestLock.Read)) { foreach (Block block in Project.Blocks) { block.ClearAnalysis(plugin); } } }