Beispiel #1
0
 /// <summary>
 /// Gets an ApplicationTree by it's tree alias.
 /// </summary>
 /// <param name="treeAlias">The tree alias.</param>
 /// <returns>An ApplicationTree instance</returns>
 public static ApplicationTree getByAlias(string treeAlias)
 {
     return(AppTrees.Find(
                delegate(ApplicationTree t)
     {
         return (t.Alias == treeAlias);
     }
                ));
 }
Beispiel #2
0
 /// <summary>
 /// Gets an ApplicationTree by it's tree alias.
 /// </summary>
 /// <param name="treeAlias">The tree alias.</param>
 /// <returns>An ApplicationTree instance</returns>
 public static ApplicationTree getByAlias(string treeAlias)
 {
     return(AppTrees.Find(t => (t.Alias == treeAlias)));
 }