Returns Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodReturns(Func<(Of <(<'TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)>>)(Func<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>)>>))
Specifies a function that will calculate the value to return from the method, retrieving the arguments for the invocation.
Public methodReturns<(Of <<'(T>)>>)(Func<(Of <(<'T, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2>)>>)(Func<(Of <(<'T1, T2, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3>)>>)(Func<(Of <(<'T1, T2, T3, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4>)>>)(Func<(Of <(<'T1, T2, T3, T4, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5>)>>)(Func<(Of <(<'T1, T2, T3, T4, T5, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6>)>>)(Func<(Of <(<'T1, T2, T3, T4, T5, T6, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7>)>>)(Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, TResult>)>)>)
Public methodReturns<(Of <<'(T1, T2, T3, T4, T5, T6, T7, T8>)>>)(Func<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, TResult>)>)>)
Public methodReturns(TResult)
Specifies the value to return.

See Also