mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(dir): ♻ declare generic param as covariant
This commit is contained in:
parent
93e4e2c901
commit
539565bc87
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
namespace FilterLists.Directory.Domain.Aggregates.Changes;
|
||||
|
||||
public interface IChange<TAggregate> where TAggregate : AggregateRoot
|
||||
public interface IChange<out TAggregate> where TAggregate : AggregateRoot
|
||||
{
|
||||
TAggregate? Current { get; }
|
||||
TAggregate? Before { get; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue