protected virtual bool Dispatch(IDomainEvent domainEvent) { AggregateSagaManager.Tell(domainEvent); Logger.Debug($"{GetType().PrettyPrint()} just dispatched {domainEvent.GetType().PrettyPrint()} to {AggregateSagaManager}"); return(true); }
protected virtual bool Dispatch(IDomainEvent domainEvent) { AggregateSagaManager.Tell(domainEvent); Logger.Debug("{0} just dispatched {1} to {2}", GetType().PrettyPrint(), domainEvent.GetType().PrettyPrint(), AggregateSagaManager.Path.Name); return(true); }