Returns Method (Func)

Moq

Collapse imageExpand ImageCopy imageCopyHover image

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

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

Syntax

C#
IReturnsResult<TMock> Returns(
	Func valueFunction
)

Parameters

valueFunction
Type: System..::..Func<(Of <(<'TResult>)>)>

See Also