Get's a new or existing context. The context definition must alreay exist.

Namespace: AppCan.Core.Contexts
Assembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Context GetNewOrExistingContext(
	string contextName
)
Visual Basic
Public Function GetNewOrExistingContext ( _
	contextName As String _
) As Context
Visual C++
public:
Context^ GetNewOrExistingContext(
	String^ contextName
)

Parameters

contextName
Type: System..::..String
The context name

Return Value

, if contextdef does not exist, null is returned

See Also