C# Class withSIX.Core.Helpers.ProgressLeaf

Inheritance: IProgressLeaf
Mostra file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
Do ( Func act ) : System.Threading.Tasks.Task
Do ( System.Action act ) : void
Finish ( ) : void
ProgressLeaf ( string title, int weight = 1 ) : System
Start ( ) : Disposable
Update ( long speed, double progress ) : void

Private Methods

Method Description
End ( ) : void
Fail ( ) : void
GetStatusText ( ) : string
Succeed ( ) : void

Method Details

Do() public method

public Do ( Func act ) : System.Threading.Tasks.Task
act Func
return System.Threading.Tasks.Task

Do() public method

public Do ( System.Action act ) : void
act System.Action
return void

Finish() public method

public Finish ( ) : void
return void

ProgressLeaf() public method

public ProgressLeaf ( string title, int weight = 1 ) : System
title string
weight int
return System

Start() public method

public Start ( ) : Disposable
return Disposable

Update() public method

public Update ( long speed, double progress ) : void
speed long
progress double
return void