diff --git a/src/Proto.Persistence/Persistence.cs b/src/Proto.Persistence/Persistence.cs index 1eb48897e8..dd5facb13f 100644 --- a/src/Proto.Persistence/Persistence.cs +++ b/src/Proto.Persistence/Persistence.cs @@ -58,9 +58,9 @@ private Persistence( /// replayed. /// /// - /// Thrown when evenStore of applyEvent are null - public static Persistence WithEventSourcing(IEventStore eventStore, string actorId, Action applyEvent) - { + /// Thrown when eventStore or applyEvent are null + public static Persistence WithEventSourcing(IEventStore eventStore, string actorId, Action applyEvent) + { if (eventStore is null) { throw new ArgumentNullException(nameof(eventStore));