Constructor CheckBoxTableSourceWrapperByObject | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
CheckBoxTableSourceWrapperByObject(TableView, IEnumerableTableSource, Func<T, bool>, Action<T, bool>)
Creates a new instance of the class wrapping the collection toWrap
.
public CheckBoxTableSourceWrapperByObject(TableView tableView, IEnumerableTableSource<T> toWrap, Func<T, bool> getter, Action<T, bool> setter)
Parameters
tableView
TableView
The table you will use the source with.
toWrap
IEnumerableTableSource
The collection of objects you will record checked state for
Delegate method for retrieving checked state from your objects of type T
.
Delegate method for setting new checked states on your objects of type T
.