C# Class withSIX.Core.Applications.Services.Restarter

Inheritance: IApplicationService, IEnableLogging, IRestarter
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
BuildUpdateExeArguments ( IEnumerable args, string executable ) : string[]
BuildUpdateExeArguments ( string executable ) : string[]
CheckUac ( IAbsoluteDirectoryPath mp ) : Task
RestartInclEnvironmentCommandLine ( ) : void
RestartWithUacInclEnvironmentCommandLine ( ) : void
RestartWithoutElevation ( ) : void
Restarter ( IShutdownHandler shutdownHandler, IDialogManager dialogManager ) : System
TryWithUacFallback ( System.Threading.Tasks.Task task, string info ) : Task

Private Methods

Méthode Description
GetSelfUpdaterRestart ( IEnumerable args ) : ProcessStartInfo
GetSquirrelRestart ( IEnumerable args ) : ProcessStartInfo
Restart ( bool elevated = false, bool exit = false ) : void
TryCheckUac ( IAbsoluteDirectoryPath mp, IAbsoluteFilePath path ) : Task

Method Details

BuildUpdateExeArguments() public static méthode

public static BuildUpdateExeArguments ( IEnumerable args, string executable ) : string[]
args IEnumerable
executable string
Résultat string[]

BuildUpdateExeArguments() public static méthode

public static BuildUpdateExeArguments ( string executable ) : string[]
executable string
Résultat string[]

CheckUac() public méthode

public CheckUac ( IAbsoluteDirectoryPath mp ) : Task
mp IAbsoluteDirectoryPath
Résultat Task

RestartInclEnvironmentCommandLine() public méthode

public RestartInclEnvironmentCommandLine ( ) : void
Résultat void

RestartWithUacInclEnvironmentCommandLine() public méthode

public RestartWithUacInclEnvironmentCommandLine ( ) : void
Résultat void

RestartWithoutElevation() public méthode

public RestartWithoutElevation ( ) : void
Résultat void

Restarter() public méthode

public Restarter ( IShutdownHandler shutdownHandler, IDialogManager dialogManager ) : System
shutdownHandler IShutdownHandler
dialogManager IDialogManager
Résultat System

TryWithUacFallback() public méthode

public TryWithUacFallback ( System.Threading.Tasks.Task task, string info ) : Task
task System.Threading.Tasks.Task
info string
Résultat Task