Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool CancellationPending { get; private set; }
- public bool IsBusy { get; private set; }
- public bool WorkerReportsProgress { get; set; }
- public bool WorkerSupportsCancellation { get; set; }
- public bool CancellationPending { get; private set; }
- public bool IsBusy { get; private set; }
- public bool WorkerReportsProgress { get; set; }
- public bool WorkerSupportsCancellation { get; set; }
- //========== Public properties ==================================================//
- public bool CancellationPending { get { return _cancellationPending; } private set { _cancellationPending = value; } }
- public bool IsBusy { get { return _isBusy; } private set { _isBusy = value; } }
- public bool WorkerReportsProgress { get { return _workerReportsProgress; } set { _workerReportsProgress = value; } }
- public bool WorkerSupportsCancellation { get { return _workerSupportsCancellation; } set { _workerSupportsCancellation = value; } }
- //========== Private fields ==================================================//
- private volatile bool _cancellationPending;
- private volatile bool _isBusy;
- private volatile bool _workerReportsProgress;
- private volatile bool _workerSupportsCancellation;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement