internal CreateNotebookCommand(INotebookUnitOfWork notebookUnitOfWork) { if (notebookUnitOfWork == null) { throw new ArgumentNullException("notebookUnitOfWork"); } _notebookUnitOfWork = notebookUnitOfWork; }
public NotebookServiceProvider(INotebookUnitOfWork notebookUnitOfWork, ITimeStamper timeStamper) { if (notebookUnitOfWork == null) { throw new ArgumentNullException("notebookUnitOfWork"); } _notebookUnitOfWork = notebookUnitOfWork; if (timeStamper == null) { throw new ArgumentNullException("timeStamper"); } _timeStamper = timeStamper; }