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