IMockControlValidateArgsOnVerify Property

Typemock Isolator Developer Guide

Note: This API is now obsolete.

Obsolete. Argument validation is done both on calling the method and during Verify. Postpone throwing validation errors till Verify is called

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

[ObsoleteAttribute("Argument validation is done both on calling the method and during Verify.", 
	false)]
bool ValidateArgsOnVerify { get; set; }

Property Value

Type: Boolean
Remarks

Using ValidateArgsOnVerify, validation errors are thrown after Verify is called. This is useful if the validation is done in another thread and you want the thread to continue. When Verify is called all argument validations are shown too.
See Also

Reference