Enters this context with the current thread.

Namespace:  Gallio.Framework
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public TestContextCookie Enter()
Visual Basic (Declaration)
Public Function Enter As TestContextCookie

Return Value

A cookie that can be used to restore the current thread's context to its previous value.

Remarks

Conceptually this method pushes this context onto the context stack for the current thread. It then returns a cookie that can be used to restore the current thread's context to its previous value.

See Also