public static SimSelection Create(string title, SimDescription me) { SimSelection selection = new SimSelection(title, me); bool canceled; selection.FilterSims(new List<ICriteria>(), null, true, out canceled); return selection; }
public static SimSelection Create(SimIDOption option) { SimSelection selection = new SimSelection(option); bool canceled; selection.FilterSims(new List <ICriteria>(), null, true, out canceled); return(selection); }
public static SimSelection Create(string title, string subTitle, SimDescription me) { SimSelection selection = new SimSelection(title, subTitle, me); bool canceled = false; selection.FilterSims(null, null, false, out canceled); return(selection); }
public static SimSelection Create(string title, string subTitle, SimDescription me, Role.RoleType type) { SimSelection selection = new SimSelection(title, subTitle, me, type); List <ICriteria> criteria = new List <ICriteria>(); foreach (IRoleCriteria crit in Common.DerivativeSearch.Find <IRoleCriteria>()) { criteria.Add(crit); } bool canceled; selection.FilterSims(criteria, null, false, out canceled); return(selection); }