| ConfigExtensionsWithMaxTest Method |
Clones a Config object but overrides the MaxTest property.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Config WithMaxTest(
this Config config,
int maxTest
)
<ExtensionAttribute>
Public Shared Function WithMaxTest (
config As Config,
maxTest As Integer
) As Config
public:
[ExtensionAttribute]
static Config^ WithMaxTest(
Config^ config,
int maxTest
)
[<ExtensionAttribute>]
static member WithMaxTest :
config : Config *
maxTest : int -> Config
Parameters
- config
- Type: Config
The Config object to clone. - maxTest
- Type: SystemInt32
The value to user to override MaxTest
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