예제 #1
0
 public static Func<Guid, Aggregate> AggregateReader(Aggregate[] storage)
 {
     return id => storage.SingleOrDefault(aggregate => aggregate.Id == id);
 }