Constructor Enumeration

Typemock Isolator Developer Guide
Scope of Constructors to Mock. see MockManager.Mock(Type, Constructor)

Namespace:  TypeMock
Assembly:  TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax

public enum Constructor
Members

  Member nameValueDescription
Mocked0 Both regular constructor and static constructors should be mocked out
StaticNotMocked1 Only regular constructors should be mocked out
NotMocked2 Both Constructors will run as normal and wont be mocked
Remarks

.NET code has support for two constructors the first is the normal constructor that is run every time a new instance is created and the other is the static constructor that is run the first time the object is referenced too. This constructor sets up all the static fields.
See Also

Reference