/// <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); } )); }
/// <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))); }