InSequence(TMock) Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Perform an expectation in the trace.

Namespace: Moq
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)

Syntax

C#
public static ISetupConditionResult<TMock> InSequence<TMock>(
	this Mock<TMock> mock,
	MockSequence sequence
)
where TMock : class

Parameters

mock
Type: Moq..::..Mock<(Of <(<'TMock>)>)>
sequence
Type: Moq..::..MockSequence

Type Parameters

TMock

See Also