Returns Method
From Moq 2.6
| Moq |
| IReturns<(Of <(TResult>)>)..::.Returns Method |
| IReturns<(Of <(TResult>)>) Interface See Also Send Feedback |
Overload List
| Name | Description | |
|---|---|---|
| Returns(Func<(Of <(TResult>)>)) |
Specifies a function that will calculate the value to return from the method.
| |
| Returns<(Of <(T>)>)(Func<(Of <(T, TResult>)>)) |
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
| |
| Returns<(Of <(T1, T2>)>)(Func<(Of <(T1, T2, TResult>)>)) |
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
| |
| Returns<(Of <(T1, T2, T3>)>)(Func<(Of <(T1, T2, T3, TResult>)>)) |
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
| |
| Returns<(Of <(T1, T2, T3, T4>)>)(Func<(Of <(T1, T2, T3, T4, TResult>)>)) |
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
| |
| Returns(TResult) |
Specifies the value to return.
|