public LinhaDeArquivoLidaArgs(object detalhe, string linha, EnumTipodeLinhaLida tipoLinha) { try { _linha = linha; _detalhe = detalhe; _tipoLinha = tipoLinha; } catch (Exception ex) { throw new Exception("Erro ao instanciar objeto", ex); } }
public virtual void OnLinhaLida(DetalheRetornoCNAB240 detalheRetornoCNAB240, string linha, EnumTipodeLinhaLida tipoLinha) { try { if (this.LinhaDeArquivoLida != null) { this.LinhaDeArquivoLida(this, new LinhaDeArquivoLidaArgs(detalheRetornoCNAB240, linha, tipoLinha)); } } catch (Exception ex) { throw new Exception("Erro ao gerar evento.", ex); } }
public virtual void OnLinhaLida(DetalheRetornoCNAB240 detalheRetornoCNAB240, string linha, EnumTipodeLinhaLida tipoLinha) { try { if (this.LinhaDeArquivoLida != null) this.LinhaDeArquivoLida(this, new LinhaDeArquivoLidaArgs(detalheRetornoCNAB240, linha, tipoLinha)); } catch (Exception ex) { throw new Exception("Erro ao gerar evento.", ex); } }