The type to register with a region and the context it should be created from.

Namespace: AppCan.wpf.Regions
Assembly: AppCan.wpf (in AppCan.wpf.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
void RegisterViewWithRegion<T>(
	string regionName,
	string context
)
Visual Basic
Sub RegisterViewWithRegion(Of T) ( _
	regionName As String, _
	context As String _
)
Visual C++
generic<typename T>
void RegisterViewWithRegion(
	String^ regionName, 
	String^ context
)

Parameters

regionName
Type: System..::..String
The name of the region
context
Type: System..::..String
When the region requests the view is created a built in delegate is called that creates the context and resolves the IView or the IViewModel based on the WpfCreationOp that is configured for the context definition. ViewFirst creates IView, ViewModelFirst creates IViewModel

Type Parameters

T
The type to instatiate for this region

See Also