SetupSequence(TMock, TResult) Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

[Missing <summary> documentation for "M:Moq.SequenceExtensions.SetupSequence``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func`2})"]

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

Syntax

C#
public static ISetupSequentialResult<TResult> SetupSequence<TMock, TResult>(
	this Mock<TMock> mock,
	Expression<Func> expression
)
where TMock : class

Parameters

mock
Type: Moq..::..Mock<(Of <(<'TMock>)>)>
expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>

Type Parameters

TMock
TResult

See Also