/// <summary>
 /// Deep copies the current DojoTestListJournalEntryType to another instance of DojoTestListJournalEntryType.
 /// </summary>
 /// <param name="DojoTestListJournalEntryType">The DojoTestListJournalEntryType to copy to.</param>
 /// <param name="isolation">Placeholders are used to isolate the DojoTestListJournalEntryType from its children.</param>
 public void CopyTo(DojoTestListJournalEntryType dojoTestListJournalEntryType, bool isolation)
 {
     dojoTestListJournalEntryType.iD                  = iD;
     dojoTestListJournalEntryType.isPlaceHolder       = isPlaceHolder;
     dojoTestListJournalEntryType.isSynced            = isSynced;
     dojoTestListJournalEntryType.name                = name;
     dojoTestListJournalEntryType.description         = description;
     dojoTestListJournalEntryType.orderNum            = orderNum;
     dojoTestListJournalEntryType.eligible            = eligible;
     dojoTestListJournalEntryType.failed              = failed;
     dojoTestListJournalEntryType.passed              = passed;
     dojoTestListJournalEntryType.certificateRequest  = certificateRequest;
     dojoTestListJournalEntryType.certificatePending  = certificatePending;
     dojoTestListJournalEntryType.certificateReceived = certificateReceived;
     dojoTestListJournalEntryType.ineligible          = ineligible;
     if (onRemovedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onRemovedStatus = onRemovedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onRemovedStatus = onRemovedStatus.Copy(false);
         }
     }
     if (onFailedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onFailedStatus = onFailedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onFailedStatus = onFailedStatus.Copy(false);
         }
     }
     if (onPassedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onPassedStatus = onPassedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onPassedStatus = onPassedStatus.Copy(false);
         }
     }
     if (onPromotedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onPromotedStatus = onPromotedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onPromotedStatus = onPromotedStatus.Copy(false);
         }
     }
     if (onCertificateRequestedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onCertificateRequestedStatus = onCertificateRequestedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onCertificateRequestedStatus = onCertificateRequestedStatus.Copy(false);
         }
     }
     if (onCertificatePendingStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onCertificatePendingStatus = onCertificatePendingStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onCertificatePendingStatus = onCertificatePendingStatus.Copy(false);
         }
     }
     if (onCertificateReceivedStatus != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntryType.onCertificateReceivedStatus = onCertificateReceivedStatus.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntryType.onCertificateReceivedStatus = onCertificateReceivedStatus.Copy(false);
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deep copies the current DojoTestListJournalEntry to another instance of DojoTestListJournalEntry.
 /// </summary>
 /// <param name="DojoTestListJournalEntry">The DojoTestListJournalEntry to copy to.</param>
 /// <param name="isolation">Placeholders are used to isolate the DojoTestListJournalEntry from its children.</param>
 public void CopyTo(DojoTestListJournalEntry dojoTestListJournalEntry, bool isolation)
 {
     dojoTestListJournalEntry.iD            = iD;
     dojoTestListJournalEntry.isPlaceHolder = isPlaceHolder;
     dojoTestListJournalEntry.isSynced      = isSynced;
     if (testList != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntry.testList = testList.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntry.testList = testList.Copy(false);
         }
     }
     if (member != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntry.member = member.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntry.member = member.Copy(false);
         }
     }
     if (entryType != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntry.entryType = entryType.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntry.entryType = entryType.Copy(false);
         }
     }
     dojoTestListJournalEntry.createDate = createDate;
     if (editor != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntry.editor = editor.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntry.editor = editor.Copy(false);
         }
     }
     dojoTestListJournalEntry.comment = comment;
     if (promotion != null)
     {
         if (isolation)
         {
             dojoTestListJournalEntry.promotion = promotion.NewPlaceHolder();
         }
         else
         {
             dojoTestListJournalEntry.promotion = promotion.Copy(false);
         }
     }
 }