示例#1
0
 /// <summary>
 /// Constructor of the copy.
 /// </summary>
 /// <param name="source">Instance of <see cref="EmailConditionalTransitionElement"/>.</param>
 /// <param name="dictToRebind">Dictionary to rebind schema elements' ids.</param>
 /// <param name="parentSchema">Parent campaign schema.</param>
 public EmailConditionalTransitionElement(EmailConditionalTransitionElement source,
                                          Dictionary <Guid, Guid> dictToRebind, Core.Campaign.CampaignSchema parentSchema)
     : base(source, dictToRebind, parentSchema)
 {
     IsResponseBasedStart  = source.IsResponseBasedStart;
     _emailResponseIdJson  = JsonConvert.SerializeObject(source.EmailResponseId);
     _hyperlinkIdJson      = JsonConvert.SerializeObject(source.HyperlinkId);
     _hyperlinkTrackIdJson = JsonConvert.SerializeObject(source.HyperlinkTrackId);
 }
示例#2
0
 /// <summary>
 /// Constructor of the clone.
 /// </summary>
 /// <param name="source">Instance of <see cref="EmailConditionalTransitionElement"/>.</param>
 public EmailConditionalTransitionElement(EmailConditionalTransitionElement source)
     : this(source, null, null)
 {
 }