Class FastMoqNonVoidSetupPhrase<T>
Class FastMoqNonVoidSetupPhrase.
Inherited Members
Namespace: FastMoq.Models
Assembly: FastMoq.Core.dll
Syntax
public class FastMoqNonVoidSetupPhrase<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
Initializes a new instance of the FastMoqNonVoidSetupPhrase<T> class.
Constructors
FastMoqNonVoidSetupPhrase(object)
Class FastMoqNonVoidSetupPhrase.
Declaration
public FastMoqNonVoidSetupPhrase(object setupPhrase)
Parameters
| Type | Name | Description |
|---|---|---|
| object | setupPhrase | The setup phrase. |
Remarks
Initializes a new instance of the FastMoqNonVoidSetupPhrase<T> class.
Methods
Returns(Delegate, Type)
Returns the specified value.
Declaration
public IReturnsResult<T>? Returns(Delegate value, Type resultType)
Parameters
| Type | Name | Description |
|---|---|---|
| Delegate | value | The value. |
| Type | resultType | Type of the result. |
Returns
| Type | Description |
|---|---|
| IReturnsResult<T> |