[This is preliminary documentation and is subject to change.]
Registers the type of the view.
Namespace: CalculationWorks.ViewModel.Forms
Assembly: CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 1.1.0.0
Syntax
public void RegisterViewType<TTableViewBase>( string tableName, Func<BcfTableViewBuilder, TTableViewBase> viewConstructor ) where TTableViewBase : BcfTableViewBase
Parameters
- tableName
- Type: SystemString
Name of the table. - viewConstructor
- Type: SystemFuncBcfTableViewBuilder, TTableViewBase
The view constructor.
Type Parameters
- TTableViewBase
- The type of the t table view base.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | tableName |
InvalidOperationException | instance is already in use |
See Also