public MatcherWithAction(IEventMatcher matcher, IAction action) { matcher.AssertNotNull(nameof(matcher)); action.AssertNotNull(nameof(action)); this.matcher = matcher; this.action = action; }
public DoNotAwaitAction(ILoggerService loggerService, IAction innerAction) { loggerService.AssertNotNull(nameof(loggerService)); innerAction.AssertNotNull(nameof(innerAction)); this.logger = loggerService.GetLogger(this.GetType()); this.innerAction = innerAction; }