FastMoqNonVoidSetupPhrase<(Of <(<'T>)>)>..::..Returns Method

Returns the specified value.

Namespace:  FastMoq.Models
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public IReturnsResult<T> Returns(
	Delegate value,
	Type resultType
)
Public Function Returns ( _
	value As Delegate, _
	resultType As Type _
) As IReturnsResult(Of T)
public:
IReturnsResult<T>^ Returns(
	Delegate^ value, 
	Type^ resultType
)

Parameters

value
Type: Delegate
The value.
resultType
Type: Type
Type of the result.