protected override void Dispose(bool disposing) { if (weatherServer != null) { weatherServer.Dispose(); weatherServer = null; } base.Dispose(disposing); }
public WeatherMapViewController(string nibName, NSBundle bundle) : base(nibName, bundle) { weatherServer = new WeatherServer(); Title = "Weather Map"; }
public WeatherMapViewController (string nibName, NSBundle bundle) : base (nibName, bundle) { weatherServer = new WeatherServer (); Title = "Weather Map"; }
protected override void Dispose (bool disposing) { if (weatherServer != null) { weatherServer.Dispose (); weatherServer = null; } base.Dispose (disposing); }