public ProcessamentoLotes(IGeracaoLotes geracaoLotes, IEnvioLotes envioLotes) { this.geracaoLotes = geracaoLotes; this.envioLotes = envioLotes; }
public ProcessamentoLotes(IServiceLocator locator) { geracaoLotes = locator.Resolve <IGeracaoLotes>(); envioLotes = locator.Resolve <IEnvioLotes>(); }