Returns(T1, T2) Method (Func)

Moq

Collapse imageExpand ImageCopy imageCopyHover image

[Missing <summary> documentation for "M:Moq.Language.IReturns`2.Returns``2(System.Func`3)"]

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

Syntax

C#
IReturnsResult<TMock> Returns<T1, T2>(
	Func valueFunction
)

Type Parameters

T1
T2

See Also