C# Class withSIX.Core.Helpers.ProgressComponent

Inheritance: IProgressComponent
Show file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Private Properties

Property Type Description
GetCurrentStage int
GetDeepestActive IProgressComponent
GetDone bool
GetDoneCount int
GetProgress double
GetProgressInternal double
GetSpeed long?
GetSpeedInternal long?
GetStatusText string
GetStatusTitle string

Public Methods

Method Description
AddComponents ( IReadOnlyCollection components ) : void
GetComponents ( ) : IEnumerable
GetFirstActive ( ) : IProgressComponent
ProgressComponent ( string title, int weight = 1 ) : System
RemoveComponents ( IReadOnlyCollection components ) : void

Private Methods

Method Description
GetCurrentStage ( ) : int
GetDeepestActive ( ) : IProgressComponent
GetDone ( ) : bool
GetDoneCount ( ) : int
GetProgress ( ) : double
GetProgressInternal ( ) : double
GetSpeed ( ) : long?
GetSpeedInternal ( ) : long?
GetStatusText ( ) : string
GetStatusTitle ( ) : string

Method Details

AddComponents() public method

public AddComponents ( IReadOnlyCollection components ) : void
components IReadOnlyCollection
return void

GetComponents() public method

public GetComponents ( ) : IEnumerable
return IEnumerable

GetFirstActive() public method

public GetFirstActive ( ) : IProgressComponent
return IProgressComponent

ProgressComponent() public method

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

RemoveComponents() public method

public RemoveComponents ( IReadOnlyCollection components ) : void
components IReadOnlyCollection
return void