C# Class Squared.Task.CancellationScope.Registration

显示文件 Open project: sq/Fracture Class Usage Examples

Public Properties

Property Type Description
Scheduler TaskScheduler
Scope CancellationScope

Public Methods

Method Description
OnComplete ( System.Action continuation ) : Squared.Threading.OnComplete
Registration ( ) : System
ThrowIfCanceled ( ) : void

Private Methods

Method Description
_OnComplete ( IFuture f ) : void

Method Details

OnComplete() public method

public OnComplete ( System.Action continuation ) : Squared.Threading.OnComplete
continuation System.Action
return Squared.Threading.OnComplete

Registration() public method

public Registration ( ) : System
return System

ThrowIfCanceled() public method

public ThrowIfCanceled ( ) : void
return void

Property Details

Scheduler public_oe property

public TaskScheduler Scheduler
return TaskScheduler

Scope public_oe property

public CancellationScope,Squared.Task Scope
return CancellationScope