DesignMode Enumeration

Typemock Isolator Developer Guide
The two different design modes available for mocking:
  • Pragmatic. The default Pragmatic mode allows faking any type and method, including sealed, static or private.
  • InterfaceOnly. This mode allows faking only abstract or interface types, and public non-virtual methods. Otherwise it throws a Typemock.DesignModeException.

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

public enum DesignMode
Members

  Member nameValueDescription
Pragmatic0 The default Pragmatic mode allows faking any type and method, including sealed, static or private.
InterfaceOnly1 This mode allows faking only abstract or interface types, and public non-virtual methods. Otherwise it throws a Typemock.DesignModeException.
See Also

Reference