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); }
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); }
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); }
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); }