DefinitionalObjectCollectionT Constructor (DefinitionalObjectCollectionT, CopyContext, Boolean) |
Initializes a new instance as a copy of an existing instance.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax protected DefinitionalObjectCollection(
DefinitionalObjectCollection<T> existingInstance,
CopyContext context,
bool copyContainedObjects
)
Protected Sub New (
existingInstance As DefinitionalObjectCollection(Of T),
context As CopyContext,
copyContainedObjects As Boolean
)
protected:
DefinitionalObjectCollection(
DefinitionalObjectCollection<T>^ existingInstance,
CopyContext^ context,
bool copyContainedObjects
)
new :
existingInstance : DefinitionalObjectCollection<'T> *
context : CopyContext *
copyContainedObjects : bool -> DefinitionalObjectCollection
Parameters
- existingInstance
- Type: AGI.Foundation.InfrastructureDefinitionalObjectCollectionT
The existing instance to copy. - context
- Type: AGI.Foundation.InfrastructureCopyContext
A CopyContext that controls the depth of the copy.
- copyContainedObjects
- Type: SystemBoolean
Indicates whether objects in the collection should be copied to a new instance.
Exceptions Remarks
See
Clone(CopyContext) for more information about how to implement this constructor
in a derived class.
See Also