You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System.Collections.Generic;
-
- namespace DotNetCore.CAP.Test.Helpers
- {
- public class TestMessageCollector
- {
- private readonly ICollection<object> _handledMessages;
-
- public TestMessageCollector(ICollection<object> handledMessages)
- {
- _handledMessages = handledMessages;
- }
-
- public void Add(object data)
- {
- _handledMessages.Add(data);
- }
- }
- }
|