File tree Expand file tree Collapse file tree
Application/Common/Interfaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33public interface ICurrentUserService
44{
5- public string ? UserId { get ; }
5+ string ? UserId { get ; }
66}
Original file line number Diff line number Diff line change 22
33public interface IAggregateRoot
44{
5- public void AddDomainEvent ( IDomainEvent domainEvent ) ;
5+ void AddDomainEvent ( IDomainEvent domainEvent ) ;
66
77 IReadOnlyList < IDomainEvent > PopDomainEvents ( ) ;
88}
Original file line number Diff line number Diff line change 22
33public interface IAuditable
44{
5- public DateTimeOffset CreatedAt { get ; }
6- public string ? CreatedBy { get ; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
7- public DateTimeOffset ? UpdatedAt { get ; }
8- public string ? UpdatedBy { get ; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
5+ DateTimeOffset CreatedAt { get ; }
6+ string ? CreatedBy { get ; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
7+ DateTimeOffset ? UpdatedAt { get ; }
8+ string ? UpdatedBy { get ; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
99
10- public void SetCreated ( DateTimeOffset createdAt , string ? createdBy ) ;
10+ void SetCreated ( DateTimeOffset createdAt , string ? createdBy ) ;
1111
12- public void SetUpdated ( DateTimeOffset updatedAt , string ? updatedBy ) ;
12+ void SetUpdated ( DateTimeOffset updatedAt , string ? updatedBy ) ;
1313}
You can’t perform that action at this time.
0 commit comments