Table of Contents

Constructor CheckBoxTableSourceWrapperByObject

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

CheckBoxTableSourceWrapperByObject(TableView, IEnumerableTableSource<T>, 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<T>

The collection of objects you will record checked state for

getter Func<T, bool>

Delegate method for retrieving checked state from your objects of type T.

setter Action<T, bool>

Delegate method for setting new checked states on your objects of type T.