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: 3.0.2.0
Syntax
public void RegisterViewType<TTableViewBase>(
	string tableName,
	Func<BcfTableViewBuilder, TTableViewBase> viewConstructor,
	IEnumerable<string> reflectedColumns = null,
	IDictionary<string, string> reflectedChildViews = null,
	IDictionary<string, string> reflectedParentRowViews = null
)
where TTableViewBase : BcfTableViewBase

Parameters

tableName
Type: SystemString
Name of the table.
viewConstructor
Type: SystemFuncBcfTableViewBuilder, TTableViewBase
The view constructor.
reflectedColumns (Optional)
Type: System.Collections.GenericIEnumerableString
The reflected columns.
reflectedChildViews (Optional)
Type: System.Collections.GenericIDictionaryString, String
The reflected child views.
reflectedParentRowViews (Optional)
Type: System.Collections.GenericIDictionaryString, String
The reflected parent row views.

Type Parameters

TTableViewBase
The type of the table view base.
Exceptions
ExceptionCondition
ArgumentNullExceptiontableName
InvalidOperationExceptiontableName
Version Information

CalculationWorks.ViewModel.Windows

Supported in: 3.0, 2.1, 2.0
See Also