C# Class Disco.Client.Presentation

Show file Open project: garysharp/Disco

Public Methods

Method Description
RegisterBootstrapperPostActions ( ShutdownActions ShutdownAction, bool Uninstall ) : void
TryDelay ( int Milliseconds ) : void
UpdateStatus ( string SubHeading, string Message, bool ShowProgress, int Progress ) : void
UpdateStatus ( string SubHeading, string Message, bool ShowProgress, int Progress, int TryDelay ) : void
WriteBanner ( ) : void
WriteFatalError ( Exception ex ) : void
WriteFooter ( bool RebootRequired, bool AllowUninstall, bool ErrorEncountered ) : void

Private Methods

Method Description
EscapeMessage ( this Message ) : string

Method Details

RegisterBootstrapperPostActions() public static method

public static RegisterBootstrapperPostActions ( ShutdownActions ShutdownAction, bool Uninstall ) : void
ShutdownAction ShutdownActions
Uninstall bool
return void

TryDelay() public static method

public static TryDelay ( int Milliseconds ) : void
Milliseconds int
return void

UpdateStatus() public static method

public static UpdateStatus ( string SubHeading, string Message, bool ShowProgress, int Progress ) : void
SubHeading string
Message string
ShowProgress bool
Progress int
return void

UpdateStatus() public static method

public static UpdateStatus ( string SubHeading, string Message, bool ShowProgress, int Progress, int TryDelay ) : void
SubHeading string
Message string
ShowProgress bool
Progress int
TryDelay int
return void

WriteBanner() public static method

public static WriteBanner ( ) : void
return void

WriteFatalError() public static method

public static WriteFatalError ( Exception ex ) : void
ex System.Exception
return void

WriteFooter() public static method

public static WriteFooter ( bool RebootRequired, bool AllowUninstall, bool ErrorEncountered ) : void
RebootRequired bool
AllowUninstall bool
ErrorEncountered bool
return void