public static Incentives GenerateEmptyMessage() { Incentives incentives = new Incentives(); incentives.Events = new List <TimedEvent>(); return(incentives); }
public bool Equals(Incentives other) { return(other != null && (Events.Count == other.Events.Count) && !Events.Except(other.Events).Any()); }
public void AddIncentives(Incentives other) { Events.AddRange(other.Events); }