예제 #1
0
        public ExistingRowPasteProcessor(ICopyParser copyParser, View view, IImportLogger logger)

        {
            this.copyParser        = copyParser;
            this.view              = view;
            this.pasteUtils        = new PasteUtils();
            this.offlinePasteUtils = new OfflinePasteUtils(logger);
        }
예제 #2
0
        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);
        }