Пример #1
0
        public SaveNoteCommand([NotNull] INotebook notebook, [NotNull] IUserFileInput userFileInput,
                               [NotNull] IFileSaver fileSaver)
        {
            ThrowIf.Variable.IsNull(notebook, nameof(notebook));
            ThrowIf.Variable.IsNull(userFileInput, nameof(userFileInput));
            ThrowIf.Variable.IsNull(fileSaver, nameof(fileSaver));

            _notebook      = notebook;
            _userFileInput = userFileInput;
            _fileSaver     = fileSaver;
        }