public virtual void SelectAnythingThen(DialogArgs args, Action <IMapsDirectlyToDatabaseTable> callback) { var selected = SelectOne(args, CoreChildProvider.GetAllSearchables().Keys.ToArray()); if (selected != null) { callback(selected); } }
/// <inheritdoc/> public virtual IEnumerable <IMapsDirectlyToDatabaseTable> GetAll(Type t) { return(CoreChildProvider.GetAllSearchables() .Keys.Where(t.IsInstanceOfType)); }
/// <inheritdoc/> public virtual IEnumerable <T> GetAll <T>() { return(CoreChildProvider.GetAllSearchables() .Keys.OfType <T>()); }