justmock-docs/api/m_telerik_justmock_privatea...

2.3 KiB

title page_title description previous_url slug published fullPath category
RaiseEvent Method RaiseEvent Method | JustMock Documentation Documentation page about RaiseEvent Method . /m_telerik_justmock_privateaccessor_raiseevent.html m_telerik_justmock_privateaccessor_raiseevent True api/n_telerik_justmock/t_telerik_justmock_privateaccessor/methods_t_telerik_justmock_privateaccessor/m_telerik_justmock_privateaccessor_raiseevent api

PrivateAccessor.RaiseEvent Method

Raises the specified event passing the given arguments to the handlers.

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

Syntax

C#
public void RaiseEvent(
	string name,
	params Object[] eventArgs
)
Visual Basic
Public Sub RaiseEvent ( _
	name As String, _
	ParamArray eventArgs As Object() _
)

name

Type: System.String
The name of the event to raise.

eventArgs

Type: System.Object []
Arguments to pass to the event handlers. Must match the event handler signature exactly.

See Also

PrivateAccessor Class

PrivateAccessor Members

Telerik.JustMock Namespace