private void RefreshWeaveDataProgressUpdateMethod(string message, AsyncOperation asyncOperation) { RefreshWeaveDataProgressChangedEventArgs e = new RefreshWeaveDataProgressChangedEventArgs(message, asyncOperation.UserSuppliedState); asyncOperation.Post(state => OnProgressChanged((RefreshWeaveDataProgressChangedEventArgs)state), e); }
private void OnProgressChanged(RefreshWeaveDataProgressChangedEventArgs e) { if (RefreshWeaveDataProgressChanged != null) { RefreshWeaveDataProgressChanged(e); } }