| ConfigExtensionsWithArbitrary Method |
Clones a Config object but overrides the Arbitrary property.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Config WithArbitrary(
this Config config,
FSharpList<Type> arbitrary
)
<ExtensionAttribute>
Public Shared Function WithArbitrary (
config As Config,
arbitrary As FSharpList(Of Type)
) As Config
public:
[ExtensionAttribute]
static Config^ WithArbitrary(
Config^ config,
FSharpList<Type^>^ arbitrary
)
[<ExtensionAttribute>]
static member WithArbitrary :
config : Config *
arbitrary : FSharpList<Type> -> Config
Parameters
- config
- Type: Config
The Config object to clone. - arbitrary
- Type: Microsoft.FSharp.CollectionsFSharpListType
The value to user to override Arbitrary
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