Represents a token that becomes canceled if the console application is requested to stop.
InheritanceConsoleLifetimeTokenSource
Namespace: DotNext Assembly: DotNext.dll Syntaxpublic sealed class ConsoleLifetimeTokenSource : CancellationTokenSource, IDisposable
Constructors | Edit this page View Source ConsoleLifetimeTokenSource()
Initializes a new lifetime token source.
Declarationpublic ConsoleLifetimeTokenSource()
Methods | Edit this page View Source Dispose(bool)
Releases the unmanaged resources used by the CancellationTokenSource class and optionally releases the managed resources.
Declarationprotected override void Dispose(bool disposing)
Parameters Type Name Description bool disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides Implements Extension MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4