| ConfigExtensionsWithMaxFail Method |
Clones a Config object but overrides the MaxFail property.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Config WithMaxFail(
this Config config,
int maxFail
)
<ExtensionAttribute>
Public Shared Function WithMaxFail (
config As Config,
maxFail As Integer
) As Config
public:
[ExtensionAttribute]
static Config^ WithMaxFail(
Config^ config,
int maxFail
)
[<ExtensionAttribute>]
static member WithMaxFail :
config : Config *
maxFail : int -> Config
Parameters
- config
- Type: Config
The Config object to clone. - maxFail
- Type: SystemInt32
The value to user to override MaxFail
Return Value
Type:
ConfigA
Config object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Config. 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