示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateRoots"/> class.
 /// </summary>
 /// <param name="aggregates">The <see cref="IAggregatesCollection" />.</param>
 /// <param name="logger">The <see cref="ILogger" />.</param>
 public AggregateRoots(IAggregatesCollection aggregates, ILogger logger)
 {
     _aggregates = aggregates;
     _logger     = logger;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateRootInstancesFetcher"/> class.
 /// </summary>
 /// <param name="aggregates">The <see cref="IAggregatesCollection" />.</param>
 public AggregateRootInstancesFetcher(IAggregatesCollection aggregates)
 {
     _aggregates = aggregates;
 }