Ejemplo n.º 1
0
 /// <summary>
 /// Gets the events for the <paramref name="correlationId"/>.
 /// </summary>
 /// <param name="correlationId">The correlation identifier.</param>
 /// <param name="removeEvents">Indicates whether to also <see cref="ExpectEventPublisher.Remove(string?)"/> the events.</param>
 /// <returns>An <see cref="Beef.Events.EventData"/> array.</returns>
 public static List <EventData> GetEvents(string?correlationId = null, bool removeEvents = false) => ExpectEventPublisher.GetEvents(correlationId, removeEvents);