We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8b0ce commit 84580c2Copy full SHA for 84580c2
RoyalCode.EnterprisePatterns/RoyalCode.Events.Outbox.EntityFramework/Services/EventsUtils.cs
@@ -38,7 +38,7 @@ public EventsUtils(
38
/// <exception cref="InvalidOperationException">
39
/// If <typeparamref name="TEvent"/> not configured.
40
/// </exception>
41
- public IEnumerable<TEvent> GetAll<TEvent>()
+ public IList<TEvent> GetAll<TEvent>()
42
{
43
if (!options.TryGetMetadata<TEvent>(out var metadata))
44
throw new MessateTypeNotConfiguredException(typeof(TEvent));
0 commit comments