コード例 #1
0
 public void ApplySettings(ILoaderSettings Settings)
 {
     _CurrentSettings = (HttpDataLoaderSettings)Settings;
     if (Settings != null && !string.IsNullOrWhiteSpace(_CurrentSettings.Server))
         Proxy = new WebProxy(_CurrentSettings.Server);
     else
         Proxy = null;
 }
コード例 #2
0
 public HttpDataLoaderSettingsEditor(HttpDataLoaderSettings Settings)
 {
     InitializeComponent();
     Text = original = Settings?.Server;
     TextChanged += DataLoaderSettingsEditor_TextChanged;
 }
コード例 #3
0
 public HttpDataLoader(HttpDataLoaderSettings Settings)
 {
     ApplySettings(Settings);
 }