C# Class Squared.Task.CancellationScope

Afficher le fichier Open project: sq/Fracture Class Usage Examples

Méthodes publiques

Свойство Type Description
Description string
FilePath string
Id int
LineNumber int
Null CancellationScope

Méthodes publiques

Méthode Description
CancellationScope ( [ description = null, [ filePath = null, [ lineNumber ) : System
GetAwaiter ( ) : CancellationScopeAwaiter
Push ( ) : CancellationScope
Reserve ( ) : Future
Set ( System.Threading.Tasks.Task task, CancellationScope scope ) : void
ThrowIfCanceled ( ) : void
ToString ( ) : string
TryCancel ( ) : bool
TryGet ( System.Threading.Tasks.Task task, CancellationScope &result ) : bool

Private Methods

Méthode Description
AddChild ( CancellationScope child ) : void

Method Details

CancellationScope() public méthode

public CancellationScope ( [ description = null, [ filePath = null, [ lineNumber ) : System
description [
filePath [
lineNumber [
Résultat System

GetAwaiter() public méthode

public GetAwaiter ( ) : CancellationScopeAwaiter
Résultat CancellationScopeAwaiter

Push() public méthode

public Push ( ) : CancellationScope
Résultat CancellationScope

Reserve() public static méthode

public static Reserve ( ) : Future
Résultat Future

Set() public static méthode

public static Set ( System.Threading.Tasks.Task task, CancellationScope scope ) : void
task System.Threading.Tasks.Task
scope CancellationScope
Résultat void

ThrowIfCanceled() public méthode

public ThrowIfCanceled ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TryCancel() public méthode

public TryCancel ( ) : bool
Résultat bool

TryGet() public static méthode

public static TryGet ( System.Threading.Tasks.Task task, CancellationScope &result ) : bool
task System.Threading.Tasks.Task
result CancellationScope
Résultat bool

Property Details

Description public_oe property

public string Description
Résultat string

FilePath public_oe property

public string FilePath
Résultat string

Id public_oe property

public int Id
Résultat int

LineNumber public_oe property

public int LineNumber
Résultat int

Null public_oe static_oe property

public static CancellationScope,Squared.Task Null
Résultat CancellationScope