Exemple #1
0
 public BilancioWCFService(IRateCondominiService rateService, INotaPredefinitaService notaPredefinitaService, IModelloLettera modelloLetteraService, IManageDocumentService manageDocumentoService, ICacheService cacheService, IEsercizioService esercizioService)
 {
     _rateService = rateService;
     _notaPredefinitaService = notaPredefinitaService;
     _modelloLetteraService = modelloLetteraService;
     _manageDocumentoService = manageDocumentoService;
     _cacheService = cacheService;
     _esercizioService = esercizioService;
 }
        void inizializza()
        {
            if (!DesignMode)
            {
                try
                {
                    _esercizioService = ResolveComponent<IEsercizioService>();
                    _rateCondominiService = ResolveComponent<IRateCondominiService>();

                    validationSummary1.Validators.Add(rateValidator);
                }
                catch
                { }
            }
        }
 private IRateCondominiService getRateCondominiService()
 {
     return _rateCondominiService ?? (_rateCondominiService = ResolveComponent<IRateCondominiService>());
 }