Telerik® JustMock™ by Progress

Explicitly enables the interception of the given type by the profiler. Interception is usually enabled implicitly by calls to Create(Type, array<Object>[]()[][]) or Arrange(Expression<(Of <<'(Action>)>>)). This method is rarely needed in cases where you're trying to arrange setters or raise events on a partial mock.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public static void Intercept(
	Type typeToIntercept
)
Visual Basic
Public Shared Sub Intercept ( _
	typeToIntercept As Type _
)

Parameters

typeToIntercept
Type: System..::..Type
The type to intercept

See Also