refactor(dir): ♻ mark some domain prop inits as private

This commit is contained in:
Collin M. Barrett 2021-11-18 13:19:45 -06:00
parent 900a0a72f3
commit 8759f782b3
2 changed files with 6 additions and 6 deletions

View file

@ -8,9 +8,9 @@ private FilterListChange()
{
}
public FilterList? Current { get; init; }
public FilterList? Before { get; init; }
public FilterList? After { get; init; }
public FilterList? Current { get; private init; }
public FilterList? Before { get; private init; }
public FilterList? After { get; private init; }
public static FilterListChange Create(string? reason)
{

View file

@ -2,7 +2,7 @@
public interface IChange<TAggregate> where TAggregate : AggregateRoot
{
TAggregate? Current { get; init; }
TAggregate? Before { get; init; }
TAggregate? After { get; init; }
TAggregate? Current { get; }
TAggregate? Before { get; }
TAggregate? After { get; }
}