Skip to content

Commit 300cabd

Browse files
committed
- Refactor
1 parent 1a9d98b commit 300cabd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/SourceFlow/Saga/Saga.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public abstract class Saga<TAggregate> : ISaga<TAggregate>
4040
protected ILogger logger;
4141

4242
/// <summary>
43-
/// Initializes a new instance of the <see cref="Saga{TAggregateRoot}"/> class.
43+
/// Initializes a new instance of the <see cref="Saga{TAggregate}"/> class.
4444
/// </summary>
4545
protected Saga()
4646
{

src/SourceFlow/Services/Service.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ public abstract class Service : IService
2222
/// <summary>
2323
/// Creates an initialised aggregate root.
2424
/// </summary>
25-
/// <typeparam name="TAggregateRoot"></typeparam>
25+
/// <typeparam name="TAggregate"></typeparam>
2626
/// <returns>Implementation of IAggregate</returns>
27-
public async Task<TAggregateRoot> CreateAggregate<TAggregateRoot>() where TAggregateRoot : IAggregate
27+
public async Task<TAggregate> CreateAggregate<TAggregate>() where TAggregate : IAggregate
2828
{
29-
var aggregate = await aggregateFactory.Create<TAggregateRoot>();
29+
var aggregate = await aggregateFactory.Create<TAggregate>();
3030
return aggregate;
3131
}
3232
}

0 commit comments

Comments
 (0)