OpenOnlineStorage() public static method

public static OpenOnlineStorage ( string product, string region = "us", BackgroundWorkerEx worker = null ) : CASCHandler
product string
region string
worker BackgroundWorkerEx
return CASCHandler
Beispiel #1
0
        private void loadDataWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            var worker = sender as BackgroundWorker;

            cascHandler = Settings.Default.OnlineMode
                ? CASCHandler.OpenOnlineStorage(worker)
                : CASCHandler.OpenLocalStorage(Settings.Default.WowPath, worker);

            root     = LoadListFile(cascHandler, Path.Combine(Application.StartupPath, "listfile.txt"), worker);
            e.Result = CASCHandler.FileNames.Count;
        }