Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
TaskContext.cs
1
2
4{
9 public class TaskContext<TProgress>(
10 bool IsRefreshing,
11 CancellationToken CancellationToken,
12 IProgress<TProgress> Progress)
13 {
17 public bool IsRefreshing { get; } = IsRefreshing;
18
22 public CancellationToken CancellationToken { get; } = CancellationToken;
23
27 public bool IsCanceled => this.CancellationToken.IsCancellationRequested;
28
32 public IProgress<TProgress> Progress { get; } = Progress;
33 }
34}