File tree Expand file tree Collapse file tree
src/NimblePros.SharedKernel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ public abstract class HasDomainEventsBase : IHasDomainEvents
88 [ NotMapped ]
99 public IReadOnlyCollection < DomainEventBase > DomainEvents => _domainEvents . AsReadOnly ( ) ;
1010
11- protected void RegisterDomainEvent ( DomainEventBase domainEvent ) => _domainEvents . Add ( domainEvent ) ;
12- internal void ClearDomainEvents ( ) => _domainEvents . Clear ( ) ;
11+ public void RegisterDomainEvent ( DomainEventBase domainEvent ) => _domainEvents . Add ( domainEvent ) ;
12+ public void ClearDomainEvents ( ) => _domainEvents . Clear ( ) ;
1313}
Original file line number Diff line number Diff line change 1313 <RepositoryUrl >https://github.com/NimblePros/SharedKernelSample</RepositoryUrl >
1414 <PackageTags >Ardalis;NimblePros;DDD;Shared Kernel;SharedKernel;Domain-Driven Design;Repository;Specification;ValueObject;Value Object;Clean;Clean Architecture;Clean Architecture Template</PackageTags >
1515 <PackageIcon >icon.png</PackageIcon >
16- <Version >3.0 .0</Version >
16+ <Version >3.1 .0</Version >
1717 <PackageReleaseNotes >
18- * Namespace from Ardalis to NimblePros
19- * Updated dependencies
20- * Swapped MediatR to Mediator
21- * Swapped FluentAssertions to AwesomeAssertions
18+ * Make domain event methods public
2219 </PackageReleaseNotes >
2320 <PublishRepositoryUrl >true</PublishRepositoryUrl >
2421 <EmbedUntrackedSources >true</EmbedUntrackedSources >
You can’t perform that action at this time.
0 commit comments