public EconomicEvent(EconomicEvent source) { this.Timestamp = source.Timestamp; this.EventType = source.EventType; if (source.EconomicDay != null) { this.EconomicDay = new EconomicDay(source.EconomicDay); } }
public EconomicDay(EconomicDay source) { this.Date = source.Date; this.Events = source.Events.Select(x => new EconomicEvent(x)).ToList(); }