Ejemplo n.º 1
0
 public ChildType BaseClone <ChildType>(CodeTypeBase source) where ChildType : CodeTypeBase
 {
     ActionOf       = source.ActionOf;
     IsNullable     = source.IsNullable;
     CollectionKind = source.CollectionKind;
     Name           = source.Name.Clone() as string;
     return(this as ChildType);
 }
Ejemplo n.º 2
0
 protected virtual ChildType BaseClone <ChildType>(CodeTypeBase source) where ChildType : CodeTypeBase
 {
     ActionOf       = source.ActionOf;
     IsNullable     = source.IsNullable;
     CollectionKind = source.CollectionKind;
     Name           = source.Name?.Clone() as string;
     Parent         = source.Parent;
     return(this as ChildType);
 }