C# 클래스 withSIX.Core.Applications.Services.Restarter

상속: IApplicationService, IEnableLogging, IRestarter
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetSelfUpdaterRestart ( IEnumerable args ) : ProcessStartInfo
GetSquirrelRestart ( IEnumerable args ) : ProcessStartInfo
Restart ( bool elevated = false, bool exit = false ) : void
TryCheckUac ( IAbsoluteDirectoryPath mp, IAbsoluteFilePath path ) : Task

메소드 상세

BuildUpdateExeArguments() 공개 정적인 메소드

public static BuildUpdateExeArguments ( IEnumerable args, string executable ) : string[]
args IEnumerable
executable string
리턴 string[]

BuildUpdateExeArguments() 공개 정적인 메소드

public static BuildUpdateExeArguments ( string executable ) : string[]
executable string
리턴 string[]

CheckUac() 공개 메소드

public CheckUac ( IAbsoluteDirectoryPath mp ) : Task
mp IAbsoluteDirectoryPath
리턴 Task

RestartInclEnvironmentCommandLine() 공개 메소드

public RestartInclEnvironmentCommandLine ( ) : void
리턴 void

RestartWithUacInclEnvironmentCommandLine() 공개 메소드

public RestartWithUacInclEnvironmentCommandLine ( ) : void
리턴 void

RestartWithoutElevation() 공개 메소드

public RestartWithoutElevation ( ) : void
리턴 void

Restarter() 공개 메소드

public Restarter ( IShutdownHandler shutdownHandler, IDialogManager dialogManager ) : System
shutdownHandler IShutdownHandler
dialogManager IDialogManager
리턴 System

TryWithUacFallback() 공개 메소드

public TryWithUacFallback ( System.Threading.Tasks.Task task, string info ) : Task
task System.Threading.Tasks.Task
info string
리턴 Task