public MatcherWithAction(IEventMatcher matcher, IAction action)
        {
            matcher.AssertNotNull(nameof(matcher));
            action.AssertNotNull(nameof(action));

            this.matcher = matcher;
            this.action = action;
        }
Пример #2
0
        public DoNotAwaitAction(ILoggerService loggerService, IAction innerAction)
        {
            loggerService.AssertNotNull(nameof(loggerService));
            innerAction.AssertNotNull(nameof(innerAction));

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

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

            this.matcher = matcher;
            this.action  = action;
        }