C# Class InSync.Threading.Extensions

Show file Open project: cvetomir-todorov/SmallProjects

Public Methods

Method Description
SafelyCancel ( CancellationTokenSource cts ) : void

Safely cancels the CancellationTokenSource even if it has been previously disposed.

Method Details

SafelyCancel() public static method

Safely cancels the CancellationTokenSource even if it has been previously disposed.
public static SafelyCancel ( CancellationTokenSource cts ) : void
cts CancellationTokenSource
return void