File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/Modular.Monolithic.Architecture.Helper.Domain/Events Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+
4+ namespace Modular . Monolithic . Architecture . Helper . Domain . Events . Domain
5+ {
6+ public abstract record DomainEvent ( Guid Id ) : IDomainEvent
7+ {
8+ public DateTime OccurredOn => DateTime . UtcNow ;
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+
4+ namespace Modular . Monolithic . Architecture . Helper . Domain . Events . Integration
5+ {
6+ public abstract record IntegrationEvent ( Guid Id ) : IIntegrationEvent
7+ {
8+ public DateTime OccurredOn => DateTime . UtcNow ;
9+ }
10+ }
You can’t perform that action at this time.
0 commit comments