public ExistingRowPasteProcessor(ICopyParser copyParser, View view, IImportLogger logger) { this.copyParser = copyParser; this.view = view; this.pasteUtils = new PasteUtils(); this.offlinePasteUtils = new OfflinePasteUtils(logger); }
public NewRowPasteProcessor(ICopyParser copyParser, View view, IImportLogger logger) { if (view == null) { throw new ArgumentException("Parameter 'view' cannot be null", "view"); } if (copyParser == null) { throw new ArgumentException("Parameter 'copyParser' cannot be null", "copyParser"); } this.copyParser = copyParser; this.view = view; this.pasteUtils = new PasteUtils(); this.offlinePasteUtils = new OfflinePasteUtils(logger); }