Пример #1
0
 /// <summary>
 /// 重置全局对象
 /// </summary>
 public static void ResetGloblaCollection()
 {
     Entities.Clear();
     Projects.Clear();
     Enums.Clear();
     TypedefItems.Clear();
     NotifyItems.Clear();
     ApiItems.Clear();
     foreach (var solution in Solutions)
     {
         var model = new SolutionModel
         {
             Solution = solution
         };
         model.OnSolutionLoad();
     }
 }
 public void End()
 {
     Solution.NotifyItems.Clear();
     Solution.NotifyItems.AddRange(NotifyItems);
     NotifyItems.Clear();
 }