C# Class NuGet.Dialog.PackageManagerUI.ProgressWindowOpener

Inheritance: IProgressWindowOpener
Exibir arquivo Open project: xero-github/Nuget

Private Properties

Property Type Description
CancelPendingClose void
CancelPendingShow void
HandleClose void
OnCloseTimerTick void
OnShowTimerTick void
OnWindowClosed void

Public Methods

Method Description
AddMessage ( MessageLevel level, string message ) : void

Add a logging message to the progress window.

This method can be called from worker thread.

ClearMessages ( ) : void
Close ( ) : bool
Hide ( ) : void

Hide the progress window if it is open.

This method can be called from worker thread.

ProgressWindowOpener ( ) : System
SetCompleted ( bool successful ) : void
Show ( string title, Window owner ) : void

Show the progress window with the specified title, after a delay of 500ms.

This method can be called from worker thread.

ShowProgress ( string operation, int percentComplete ) : void

Private Methods

Method Description
CancelPendingClose ( ) : void
CancelPendingShow ( ) : void
HandleClose ( bool hideOnly ) : void
OnCloseTimerTick ( object sender, EventArgs e ) : void
OnShowTimerTick ( object sender, EventArgs e ) : void
OnWindowClosed ( object sender, EventArgs e ) : void

Method Details

AddMessage() public method

Add a logging message to the progress window.
This method can be called from worker thread.
public AddMessage ( MessageLevel level, string message ) : void
level MessageLevel
message string
return void

ClearMessages() public method

public ClearMessages ( ) : void
return void

Close() public method

public Close ( ) : bool
return bool

Hide() public method

Hide the progress window if it is open.
This method can be called from worker thread.
public Hide ( ) : void
return void

ProgressWindowOpener() public method

public ProgressWindowOpener ( ) : System
return System

SetCompleted() public method

public SetCompleted ( bool successful ) : void
successful bool
return void

Show() public method

Show the progress window with the specified title, after a delay of 500ms.
This method can be called from worker thread.
public Show ( string title, Window owner ) : void
title string The window title
owner System.Windows.Window
return void

ShowProgress() public method

public ShowProgress ( string operation, int percentComplete ) : void
operation string
percentComplete int
return void