Click or drag to resize
CalculationWorks Logo
BcfTableViewFactoryRegisterViewTypeTTableViewBase Method
Registers the type of the view.

Namespace: CalculationWorks.ViewModel.Windows
Assembly: CalculationWorks.ViewModel.Windows (in CalculationWorks.ViewModel.Windows.dll) Version: 2.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
ExceptionCondition
ArgumentNullExceptiontableName
InvalidOperationExceptioninstance is already in use
See Also