private void Raise(IDomainEvent @event) { RaisedEvents.Add(@event); }
public void Raise <T>(T domainEvent) where T : IDomainEvent { RaisedEvents.Add(domainEvent); }
private void Raise(IDomainEvent @event) { RaisedEvents.Add(@event); }
public void Raise <T>(T domainEvent) where T : IDomainEvent { RaisedEvents.Add(domainEvent); }