/// <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); }
/// <summary> /// Constructor of the clone. /// </summary> /// <param name="source">Instance of <see cref="EmailConditionalTransitionElement"/>.</param> public EmailConditionalTransitionElement(EmailConditionalTransitionElement source) : this(source, null, null) { }