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