Class SelectionHelper
Inheritance
SelectionHelper
Assembly: TabularEditor3.Shared.dll
Syntax
public static class SelectionHelper
Methods
Edit<T>(IEnumerable<T>)
Declaration
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
Declaration
public static T FindByDAX<T>(this IEnumerable<T> items, string name) where T : ITabularNamedObject
Parameters
Returns
Type Parameters
Exceptions
Summary(IEnumerable<ITabularNamedObject>, bool, bool)
Returns a string with a short description of the types of objects in the items
collection.
Declaration
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