Telerik® JustMock™ by Progress

Raises the specified event. If the event is not mocked and is declared on a C# or VB class and has the default implementation for add/remove, then that event can also be raised using this method, even with the profiler off. The type on which the event is defined may need to be pre-intercepted using Intercept(Type) before calling Raise.

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

Syntax

C#
public static void Raise(
	Action eventExpression,
	params Object[] args
)
Visual Basic
Public Shared Sub Raise ( _
	eventExpression As Action, _
	ParamArray args As Object() _
)

Parameters

eventExpression
Type: System..::..Action
Event expression
args
Type: array<System..::..Object>[]()[][]
Delegate arguments

See Also