Click or drag to resize
ConfigurationExtensionsWithMaxFail Method
Sets the MaxNbOfFailedTests property of a Configuration object.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Configuration WithMaxFail(
	this Configuration configuration,
	int maxFail
)

Parameters

configuration
Type: Configuration
The Configuration object on which to set the MaxNbOfFailedTests property.
maxFail
Type: SystemInt32
The value to use for the MaxNbOfFailedTests property.

Return Value

Type: Configuration
The configuration object to allow chaining.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Configuration. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also