Пример #1
0
 /// <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);
     }
 }
Пример #2
0
 /// <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);
         }
     }
 }
Пример #3
0
 /// <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);
				}
			}
		}