コード例 #1
0
 public virtual void Clone(GenericCard clone)
 {
     if(clone != null)
     {
         Author = clone.Author;
     }
 }
コード例 #2
0
ファイル: ThemeCard.cs プロジェクト: DevChagrins/CardCreator
 public override void Clone(GenericCard clone)
 {
     if (clone != null)
     {
         ThemeCard cloneTheme = (ThemeCard)clone;
         Theme = cloneTheme.Theme;
         Type = cloneTheme.Type;
         Author = cloneTheme.Author;
     }
 }
コード例 #3
0
 public GenericCard(GenericCard clone)
 {
     Author = clone.Author;
 }