Skip to content

Commit

Permalink
refactor: use IList insted List
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilbaczek committed Feb 9, 2024
1 parent dd866a0 commit 64369ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/// </summary>
public abstract class Entity
{
private List<IDomainEvent>? _events;
private IList<IDomainEvent>? _events;

/// <summary>
/// Gets the collection of domain events recorded for this entity.
Expand Down

0 comments on commit 64369ac

Please sign in to comment.