コード例 #1
0
ファイル: AggregateRoots.cs プロジェクト: dolittle/Runtime
 /// <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;
 }