18 using System.Collections.Generic;
32 public IReadOnlyList<ITimeRule>
Rules {
get; init; }
39 : this((IEnumerable<
ITimeRule>) timeRules)
49 Rules = timeRules.ToList();
57 get {
return string.Join(
",",
Rules.Select(x => x.Name)); }
68 foreach (var date
in dates)
71 var enumerable =
new[] {date};
72 var times =
Rules.SelectMany(time => time.CreateUtcEventTimes(enumerable)).ToHashSet().OrderBy(x => x);
73 foreach (var time
in times)