Ejemplo n.º 1
0
 /// <summary>
 /// Init  - we want to make sure the ParseStatus for this file is freshly initialized (e.g. when opening / re-opening a file)
 /// </summary>
 /// <param name="targetFile"></param>
 public static void Init(string targetFile)
 {
     lock (_synchronizationParseStatus)
     {
         if (!ParseStatus.ContainsKey(targetFile))
         {
             ParseStatus.Add(targetFile, new ParseAttribute());
         }
         else
         {
             ParseStatus[targetFile] = new ParseAttribute();
         }
     }
 }