When Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

[Missing <summary> documentation for "M:Moq.Mock`1.When(System.Func`1)"]

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

Syntax

C#
public ISetupConditionResult<T> When(
	Func condition
)

Parameters

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

See Also