Skip to content

Commit cd1098d

Browse files
Update README.md
1 parent b551555 commit cd1098d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,7 +2294,7 @@ namespace ObservableComputationsExample
22942294
}
22952295
}
22962296
```
2297-
In this example, we show the user the form without waiting for the data to load from the database to finish. While loading, the form is rendered and the user gets acquainted with its contents. Note that the source code loading code is abstracted from computations over them (*PaidOrders* and *UnpaidOrders*).
2297+
In this example, we show the user form without waiting for the data to load from the database to finish. While loading, the form is rendered and the user gets acquainted with its contents. Note that the source code loading code is abstracted from computations over them (*PaidOrders* and *UnpaidOrders*).
22982298

22992299
### Performing computations in a background thread
23002300
In the previous example, only data from the database was loaded in the background thread. The computations (*PaidOrders* and *UnpaidOrders*) were performed in the main thread (UI thread). Sometimes it is necessary to perform computations in a background thread, and in the main thread to get only the final computation results (XAML is the same as in the previous example):
@@ -2579,7 +2579,7 @@ namespace ObservableComputationsExample
25792579
Thread thread = new Thread(() =>
25802580
{
25812581
Thread.Sleep(1000); // accessing DB
2582-
Random random = new Random();
2582+
Random random = new Random();in
25832583
for (int i = 0; i < 5000; i++)
25842584
{
25852585
Order order = new Order(i);
@@ -4586,4 +4586,4 @@ If you have [IList&lt;T&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.
45864586

45874587
https://github.com/gsonnenf/Gstc.Collections.ObservableLists
45884588

4589-
Nuget: https://www.nuget.org/packages/Gstc.Collections.ObservableLists
4589+
Nuget: https://www.nuget.org/packages/Gstc.Collections.ObservableLists

0 commit comments

Comments
 (0)