IReturnsGetter(TMock, TProperty) Interface

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Defines the Returns verb for property get setups.

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

Syntax

C#
public interface IReturnsGetter<TMock, TProperty> : IHideObjectMembers
where TMock : class

Type Parameters

TMock
Mocked type.
TProperty
Type of the property.

See Also