Esempio n. 1
0
        private bool disposed = false; // to detect redundant calls
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    // dispose-only, i.e. non-finalizable logic
                    _facilityQuestionnaireService?.Dispose();
                    _facilityService?.Dispose();
                    _uclService?.Dispose();
                    _facilityContractService?.Dispose();
                }
                disposed = true;
            }

            base.Dispose(disposing);
        }
Esempio n. 2
0
        private bool disposed = false; // to detect redundant calls
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    _ealertFacilitiesService?.Dispose();
                    _ealertCaseTypesService?.Dispose();
                    _facilityService?.Dispose();
                    _caseService?.Dispose();
                    _uCLService?.Dispose();
                }
                disposed = true;
            }

            base.Dispose(disposing);
        }
        private bool disposed = false; // to detect redundant calls
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    // dispose-only, i.e. non-finalizable logic
                    _lookUpService?.Dispose();
                    _facilityService?.Dispose();
                    _facilityPhysicianService?.Dispose();
                    _ealertFacilitiesService?.Dispose();
                    _Protocols?.Dispose();
                }
                disposed = true;
            }

            base.Dispose(disposing);
        }
Esempio n. 4
0
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    // dispose-only, i.e. non-finalizable logic
                    _facilityService?.Dispose();
                    _facilityContractService?.Dispose();
                    _uCLService?.Dispose();
                    _OnBoardedServices?.Dispose();
                    _facilityPhysicianService?.Dispose();
                }
                disposed = true;
            }

            base.Dispose(disposing);
        }
Esempio n. 5
0
        private bool disposed = false; // to detect redundant calls
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    // dispose-only, i.e. non-finalizable logic
                    _qualityGoalsService?.Dispose();
                    _ealertFacilitiesService?.Dispose();
                    _lookUpService?.Dispose();
                    _facilityPIService?.Dispose();
                    _uCLService?.Dispose();
                    _facilityService?.Dispose();
                }
                disposed = true;
            }

            base.Dispose(disposing);
        }