private static void OnNew(Application app, EventArgs args)
 {
     if (New != null)
     {
         New(app, args);
     }
 }
 static void ApplicationDeleted(Application sender, System.EventArgs e)
 {
     DistributedCache.Instance.RefreshAllApplicationCache();
 } 
 private static void OnDeleted(Application app, EventArgs args)
 {
     if (Deleted != null)
     {
         Deleted(app, args);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeDefinition"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <param name="tree">The tree.</param>
 /// <param name="app">The app.</param>
 public TreeDefinition(Type type, ApplicationTree tree, Application app)
 {
     m_treeType = type;
     m_tree = tree;
     m_app = app;
 }