Skip to content

Commit

Permalink
Removed unneeded interface modifiers (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmackay authored Feb 13, 2025
1 parent 0e25bb9 commit d35442b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Application/Common/Interfaces/ICurrentUserService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public interface ICurrentUserService
{
public string? UserId { get; }
string? UserId { get; }
}
2 changes: 1 addition & 1 deletion src/Domain/Common/Interfaces/IAggregateRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public interface IAggregateRoot
{
public void AddDomainEvent(IDomainEvent domainEvent);
void AddDomainEvent(IDomainEvent domainEvent);

IReadOnlyList<IDomainEvent> PopDomainEvents();
}
12 changes: 6 additions & 6 deletions src/Domain/Common/Interfaces/IAuditable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

public interface IAuditable
{
public DateTimeOffset CreatedAt { get; }
public string? CreatedBy { get; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
public DateTimeOffset? UpdatedAt { get; }
public string? UpdatedBy { get; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
DateTimeOffset CreatedAt { get; }
string? CreatedBy { get; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)
DateTimeOffset? UpdatedAt { get; }
string? UpdatedBy { get; } // TODO: String as userId? (https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/76)

public void SetCreated(DateTimeOffset createdAt, string? createdBy);
void SetCreated(DateTimeOffset createdAt, string? createdBy);

public void SetUpdated(DateTimeOffset updatedAt, string? updatedBy);
void SetUpdated(DateTimeOffset updatedAt, string? updatedBy);
}

0 comments on commit d35442b

Please sign in to comment.