예제 #1
0
 public MessageFocusDecorator(ErrorAndInfoWindow messageWindow,
                              IMessageTypeFilteringOptions filter,
                              IMessageWriter decoratedWriter)
 {
     _filter          = filter ?? throw new ArgumentNullException(nameof(filter));
     _messageWindow   = messageWindow ?? throw new ArgumentNullException(nameof(messageWindow));
     _decoratedWriter = decoratedWriter ?? throw new ArgumentNullException(nameof(decoratedWriter));
 }
예제 #2
0
        public NotificationPanelMessageWriter(ErrorAndInfoWindow messageWindow)
        {
            if (messageWindow == null)
            {
                throw new ArgumentNullException(nameof(messageWindow));
            }

            _messageWindow = messageWindow;
        }
예제 #3
0
 public MessageCollector(ErrorAndInfoWindow MessageCollectorForm)
 {
     _MCForm = MessageCollectorForm;
     CreateTimer();
 }