C# Class BclExtras.Threading.OperationContext

Base implementation of IOperationContext
显示文件 Open project: scottwis/tiny

Public Methods

Method Description
PerformStep ( ) : void
SetCurrentStep ( int current ) : void
SetIsCancelAllowed ( bool value ) : void
SetStepInformation ( int total ) : void
SetStepInformation ( int increment, int total ) : void
SetSummary ( string msg ) : void
SetTitle ( string msg ) : void
ThrowIfCanceled ( ) : void

Private Methods

Method Description
OperationContext ( IProgressTrackerProxy dialog ) : System

Method Details

PerformStep() public method

public PerformStep ( ) : void
return void

SetCurrentStep() public method

public SetCurrentStep ( int current ) : void
current int
return void

SetIsCancelAllowed() public method

public SetIsCancelAllowed ( bool value ) : void
value bool
return void

SetStepInformation() public method

public SetStepInformation ( int total ) : void
total int
return void

SetStepInformation() public method

public SetStepInformation ( int increment, int total ) : void
increment int
total int
return void

SetSummary() public method

public SetSummary ( string msg ) : void
msg string
return void

SetTitle() public method

public SetTitle ( string msg ) : void
msg string
return void

ThrowIfCanceled() public method

public ThrowIfCanceled ( ) : void
return void