Class PauseTokenSource
A class that allows for the creation and management of PauseToken objects, used for cooperatively pausing task execution.
Inherited Members
Namespace: TheXDS.MCART.Types
Assembly: MCART.dll
Syntax
public class PauseTokenSource
Properties
| Edit this page View SourceIsPaused
Gets or sets a value indicating whether this pause source is in a paused state.
Declaration
public bool IsPaused { get; set; }
Property Value
Type | Description |
---|---|
bool |
Token
Gets a new PauseToken that will observe the state of this instance.
Declaration
public PauseToken Token { get; }
Property Value
Type | Description |
---|---|
PauseToken |