FunctionTIndependent, TDependent Constructor (FunctionTIndependent, TDependent, CopyContext) |
Initializes a new instance as a copy of an existing instance.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax protected Function(
Function<TIndependent, TDependent> existingInstance,
CopyContext context
)
Protected Sub New (
existingInstance As Function(Of TIndependent, TDependent),
context As CopyContext
)
protected:
Function(
Function<TIndependent, TDependent>^ existingInstance,
CopyContext^ context
)
new :
existingInstance : Function<'TIndependent, 'TDependent> *
context : CopyContext -> Function
Parameters
- existingInstance
- Type: AGI.FoundationFunctionTIndependent, TDependent
The existing instance to copy. - context
- Type: AGI.Foundation.InfrastructureCopyContext
A CopyContext that controls the depth of the copy.
Exceptions Remarks
See
Clone(CopyContext) for more information about how to implement this constructor
in a derived class.
See Also