DefaultValue Property

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Specifies the behavior to use when returning default values for unexpected invocations on loose mocks.

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

Syntax

C#
public virtual DefaultValue DefaultValue { get; set; }

See Also