// // Public methods // #region public static void Load(string AuthToken, string listenerID, string proxyHost, int proxyPort, string proxyUser, string proxyPassword) public static void Load(string authToken, string listenerID, string proxyHost, int proxyPort, string proxyUser, string proxyPassword) { Debug.WriteLine("Stations initiate loading ..."); StationLoader loader = new StationLoader(authToken, listenerID, proxyHost, proxyPort, proxyUser, proxyPassword); Thread loaderThread = new Thread(new ThreadStart(loader.Load)); loaderThread.IsBackground = true; loaderThread.Start(); }
public static void Load(string authToken, string listenerID, string proxyHost, int proxyPort, string proxyUser, string proxyPassword) { Debug.WriteLine("Stations initiate loading ..."); StationLoader loader = new StationLoader(authToken, listenerID, proxyHost, proxyPort, proxyUser, proxyPassword); Thread loaderThread = new Thread(new ThreadStart(loader.Load)); loaderThread.IsBackground = true; loaderThread.Start(); }