src/GenFx.Components/Trees/TreeEntityBase.cs
/// <summary>
/// Copies the state from this object> to <paramref name="entity"/>.
/// </summary>
/// <param name="entity"><see cref="GeneticEntity"/> to which state is to be copied.</param>
/// <exception cref="ArgumentNullException"><paramref name="entity"/> is null.</exception>
Copies the state from this object> to .
Copies the state from this object > to .
public override void CopyTo(GeneticEntity entity)
        {
            if (entity is null)
            {
                throw new ArgumentNullException(nameof(entity));
            }
            TreeEntityBase treeEntity = (TreeEntityBase)entity;
            treeEntity.rootNode = this.rootNode?.Clone(treeEntity, null);
            base.CopyTo(entity);
        }
public override void CopyTo ( GeneticEntity entity ) { if ( entity is null ) { throw new ArgumentNullException ( nameof ( entity ) ) ; } TreeEntityBase treeEntity = ( TreeEntityBase ) entity ; treeEntity . rootNode = this . rootNode ? . Clone ( treeEntity , null ) ; base . CopyTo ( entity ) ; }
Copies the state from this object> to .
Copies the state from this object > to .
None
entity
GeneticEntity
to which state is to be copied.
to which state is to be copied .