IReturns(TMock, TResult) Interface

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Defines the Returns verb.

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

Syntax

C#
public interface IReturns<TMock, TResult> : IHideObjectMembers
where TMock : class

Type Parameters

TMock
Mocked type.
TResult
Type of the return value from the expression.

See Also