Example #1
0
        public ValidarArquivos()
        {
            InitializeComponent();

            _documentoRepository = new ControleDocumentoRepository(new Context());

            if (_documentoRepository == null)
            {
                throw new ArgumentNullException($"Falha ao carregar componentes da tela. parametro: {nameof(_documentoRepository)}");
            }
        }
Example #2
0
        public IncluirArquivo()
        {
            InitializeComponent();

            _controleDocumentoRepository = new ControleDocumentoRepository(new Context());

            if (_controleDocumentoRepository == null)
            {
                throw new ArgumentNullException($"Erro ao inicializar sistema. parametro: {nameof(_controleDocumentoRepository)}");
            }
        }