C# Class InSync.Threading.Extensions

Afficher le fichier Open project: cvetomir-todorov/SmallProjects

Méthodes publiques

Méthode Description
SafelyCancel ( CancellationTokenSource cts ) : void

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

Method Details

SafelyCancel() public static méthode

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