Class SelectionHelper
- Inheritance
-
SelectionHelper
- Inherited Members
-
- Namespace
- TabularEditor.Shared.Interaction
- Assembly
- TabularEditor3.Shared.dll
public static class SelectionHelper
Methods
Edit<T>(IEnumerable<T>)
public static NamedObjectEditableCollection<T> Edit<T>(this IEnumerable<T> items) where T : ITabularNamedObject
Parameters
Returns
Type Parameters
FindByDAX<T>(IEnumerable<T>, string)
Search a collection of objects using a DAX reference
public static T FindByDAX<T>(this IEnumerable<T> items, string name) where T : ITabularNamedObject
Parameters
Returns
Type Parameters
Exceptions
- SelectionException
Summary(IEnumerable<ITabularNamedObject>, bool, bool)
Returns a string with a short description of the types of objects in the items
collection.
public static string Summary(this IEnumerable<ITabularNamedObject> items, bool onlyTypeNames = false, bool capitalize = true)
Parameters
Type |
Name |
Description |
IEnumerable<ITabularNamedObject> |
items |
The collection to summarize
|
bool |
onlyTypeNames |
Set to false to always show the types of objects in the collection
|
bool |
capitalize |
|
Returns