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.8.0 (9.3.8.0)
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| Pragmatic | 0 | The default Pragmatic mode allows faking any type and method, including sealed, static or private. | |
| InterfaceOnly | 1 | This mode allows faking only abstract or interface types, and public non-virtual methods. Otherwise it throws a Typemock.DesignModeException. | 
See Also