Ejemplo n.º 1
0
        public ValidateHelper(WizardContext context, IValidatorFactory factory)
        {
            _context       = context;
            _validator     = new DocumentValidate();
            _valid_factory = new CommentValidatorFactory(context);
            _comments      = new CellCommentManager();

            if (factory != null)
            {
                _validator.FieldValidatorList.AddValidatorFactory(factory);
                _validator.RowValidatorList.AddValidatorFactory(factory);
            }

            _validator.FieldValidatorList.AddValidatorFactory(_valid_factory);
            _validator.RowValidatorList.AddValidatorFactory(_valid_factory);
        }
Ejemplo n.º 2
0
 public SheetRowSource(SheetHelper sheet, WizardContext context)
 {
     _sheet             = sheet;
     _context           = context;
     _current_row_index = -1;
 }