/// <inheritdoc /> /// <summary> /// Dispose method, following dispose pattern /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (disposing) { if (_imageCreationService != null) { _imageCreationService.Dispose(); _imageCreationService = null; } } base.Dispose(disposing); }
/// <summary> /// Dispose method, following dispose pattern /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (disposing) { if (_israelHikingRepository != null) { _israelHikingRepository.Dispose(); _israelHikingRepository = null; } if (_imageCreationService != null) { _imageCreationService.Dispose(); _imageCreationService = null; } } base.Dispose(disposing); }