public void ApplySettings(ILoaderSettings Settings) { _CurrentSettings = (HttpDataLoaderSettings)Settings; if (Settings != null && !string.IsNullOrWhiteSpace(_CurrentSettings.Server)) Proxy = new WebProxy(_CurrentSettings.Server); else Proxy = null; }
public HttpDataLoaderSettingsEditor(HttpDataLoaderSettings Settings) { InitializeComponent(); Text = original = Settings?.Server; TextChanged += DataLoaderSettingsEditor_TextChanged; }
public HttpDataLoader(HttpDataLoaderSettings Settings) { ApplySettings(Settings); }