/// <summary> /// Initializes a new instance of the <see cref="MessageBoxWrapper"/> class. /// </summary> /// <param name="messageBoxShow"> /// The interface responsible for showing the actual message box. /// </param> /// <param name="settings">The settings for the folder browser dialog.</param> public MessageBoxWrapper(IMessageBoxShow messageBoxShow, MessageBoxSettings settings) { this.messageBoxShow = messageBoxShow ?? throw new ArgumentNullException(nameof(messageBoxShow)); this.settings = settings ?? throw new ArgumentNullException(nameof(settings)); }
public MessageBoxWrapper(IMessageBoxShow messageBoxShow, MessageBoxSettings messageBoxSettings) { _messageBoxShow = messageBoxShow ?? throw new ArgumentNullException(nameof(messageBoxShow)); _settings = messageBoxSettings ?? throw new ArgumentNullException(nameof(messageBoxSettings)); }