Telerik® JustMock™ by Progress

Returns the number of times the specified member was called.

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

Syntax

C#
public static int GetTimesCalled(
	Expression<Action> expression
)
Visual Basic
Public Shared Function GetTimesCalled ( _
	expression As Expression(Of Action) _
) As Integer

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Action>)>)>
The action to inspect

Return Value

Number of calls

See Also