MasterListToSubsetBinderTSubsetModel, TMasterModel, TListModel, TIdentifier Constructor |
Creates a new object.
Namespace: VirtualRadar.WinForms.PortableBindingAssembly: 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
)
Public Sub New (
subsetModel As TSubsetModel,
control As MasterListView,
masterModel As TMasterModel,
getSubsetList As Expression(Of Func(Of TSubsetModel, IList(Of TIdentifier))),
getMasterList As Expression(Of Func(Of TMasterModel, IList(Of TListModel))),
getListIdentifier As Expression(Of Func(Of TListModel, TIdentifier))
)
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
)
new :
subsetModel : 'TSubsetModel *
control : MasterListView *
masterModel : 'TMasterModel *
getSubsetList : Expression<Func<'TSubsetModel, IList<'TIdentifier>>> *
getMasterList : Expression<Func<'TMasterModel, IList<'TListModel>>> *
getListIdentifier : Expression<Func<'TListModel, 'TIdentifier>> -> MasterListToSubsetBinder
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