Settings.ProcessingGroup.ColorGroup.CopyWith Method |
Create a clone (deep copy) of the current instance and invoke delegate on the clone
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntaxpublic Settings.ProcessingGroup.ColorGroup CopyWith(
Settings.ProcessingGroup.ColorGroup.CopyWithDelegate delegate
)
Public Function CopyWith (
delegate As Settings.ProcessingGroup.ColorGroup.CopyWithDelegate
) As Settings.ProcessingGroup.ColorGroup
public:
Settings.ProcessingGroup.ColorGroup^ CopyWith(
Settings.ProcessingGroup.ColorGroup.CopyWithDelegate^ delegate
)
Parameters
- delegate
- Type: Zivid.NET.Settings.ProcessingGroup.ColorGroup.CopyWithDelegate
Return Value
Type:
Settings.ProcessingGroup.ColorGroup
Remarks
Creates a clone (deep copy) of this object, then invokes the delegate function on the
clone, and finally returns the clone. This method can be used to create a clone of
an instance and then change one or more properties on the clone in one method call. The
current instance is unchanged.
See Also