EntityDescriptor<TEntity> Constructor (EntityDescriptor<TEntity>, CopyContext) |
Initializes a new instance as a copy of an existing instance.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxprotected EntityDescriptor(
EntityDescriptor<TEntity> existingInstance,
CopyContext context
)
Protected Sub New (
existingInstance As EntityDescriptor(Of TEntity),
context As CopyContext
)
protected:
EntityDescriptor(
EntityDescriptor<TEntity>^ existingInstance,
CopyContext^ context
)
new :
existingInstance : EntityDescriptor<'TEntity> *
context : CopyContext -> EntityDescriptor
Parameters
- existingInstance
- Type: AGI.Foundation.Tracking.EntityDescriptor<TEntity>
The existing instance to copy. - context
- Type: AGI.Foundation.Infrastructure.CopyContext
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