Click or drag to resize
MasterListToSubsetBinderTSubsetModel, TMasterModel, TListModel, TIdentifier Constructor
Creates a new object.

Namespace: VirtualRadar.WinForms.PortableBinding
Assembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public MasterListToSubsetBinder(
	TSubsetModel subsetModel,
	MasterListView control,
	TMasterModel masterModel,
	Expression<Func<TSubsetModel, IList<TIdentifier>>> getSubsetList,
	Expression<Func<TMasterModel, IList<TListModel>>> getMasterList,
	Expression<Func<TListModel, TIdentifier>> getListIdentifier
)

Parameters

subsetModel
Type: TSubsetModel
The object that holds the subset list.
control
Type: MasterListView
The MasterListView control that we'll be binding to.
masterModel
Type: TMasterModel
The object that holds the master list.
getSubsetList
Type: System.Linq.ExpressionsExpressionFuncTSubsetModel, IListTIdentifier
A delegate that returns the subset list.
getMasterList
Type: System.Linq.ExpressionsExpressionFuncTMasterModel, IListTListModel
A delegate that returns the master list.
getListIdentifier
Type: System.Linq.ExpressionsExpressionFuncTListModel, TIdentifier
A delegate that returns the identifier from a list item.
See Also