public override void Dispose() { if (_resSvc != null) { _resSvc.Dispose(); _resSvc = null; } if (_featSvc != null) { _featSvc.Dispose(); _featSvc = null; } if (_drawSvc != null) { _drawSvc.Dispose(); _drawSvc = null; } if (_renderSvc != null) { _renderSvc.Dispose(); _renderSvc = null; } if (_tileSvc != null) { _tileSvc.Dispose(); _tileSvc = null; } }
private MgdDrawingService GetDrawingService() { if (_drawSvc == null) _drawSvc = (MgdDrawingService)_fact.CreateService(MgServiceType.DrawingService); return _drawSvc; }