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