C# Класс Squared.Task.CancellationScope

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Description string
FilePath string
Id int
LineNumber int
Null CancellationScope

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddChild ( CancellationScope child ) : void

Описание методов

CancellationScope() публичный Метод

public CancellationScope ( [ description = null, [ filePath = null, [ lineNumber ) : System
description [
filePath [
lineNumber [
Результат System

GetAwaiter() публичный Метод

public GetAwaiter ( ) : CancellationScopeAwaiter
Результат CancellationScopeAwaiter

Push() публичный Метод

public Push ( ) : CancellationScope
Результат CancellationScope

Reserve() публичный статический Метод

public static Reserve ( ) : Future
Результат Future

Set() публичный статический Метод

public static Set ( System.Threading.Tasks.Task task, CancellationScope scope ) : void
task System.Threading.Tasks.Task
scope CancellationScope
Результат void

ThrowIfCanceled() публичный Метод

public ThrowIfCanceled ( ) : void
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

TryCancel() публичный Метод

public TryCancel ( ) : bool
Результат bool

TryGet() публичный статический Метод

public static TryGet ( System.Threading.Tasks.Task task, CancellationScope &result ) : bool
task System.Threading.Tasks.Task
result CancellationScope
Результат bool

Описание свойств

Description публичное свойство

public string Description
Результат string

FilePath публичное свойство

public string FilePath
Результат string

Id публичное свойство

public int Id
Результат int

LineNumber публичное свойство

public int LineNumber
Результат int

Null публичное статическое свойство

public static CancellationScope,Squared.Task Null
Результат CancellationScope