CallBase Property

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Whether the base member virtual implementation will be called for mocked classes if no setup is matched. Defaults to falseFalsefalsefalse (False in Visual Basic).

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

Syntax

C#
public bool CallBase { get; set; }

See Also