public override void Stop() { _externals = null; _settings = null; base.Stop(); }
public override void Start() { base.Start(); _settings = ExternalsConfigurationSettings.Default; try { _externals = _settings.Externals; } catch (Exception ex) { Platform.Log(LogLevel.Error, ex, "Failed to load external application settings. The XML may be corrupt."); } if (_externals == null) { _externals = new ExternalCollection(); } }