C# Class withSIX.Play.Applications.Helpers.ShortcutCreator

Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CreateDesktopGameBat ( string name, string description, string arguments, Game game, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
CreateDesktopGameIcon ( string name, string description, string arguments, Game game, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
CreateDesktopPwsIcon ( string name, string description, string arguments, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
CreateDesktopPwsIconCustomRepo ( string name, string description, Uri target, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
CreateShortcut ( ShortcutInfo info ) : void
CreateShortcutAsync ( ShortcutInfo info ) : System.Threading.Tasks.Task

Private Methods

Method Description
GenerateBatContent ( IAbsoluteFilePath target, IAbsoluteDirectoryPath workDir, string pars ) : string
GetDesktop ( ) : IAbsoluteDirectoryPath
MakeValidShortcutFileName ( string fileName ) : string

Method Details

CreateDesktopGameBat() public static method

public static CreateDesktopGameBat ( string name, string description, string arguments, Game game, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
name string
description string
arguments string
game Game
icon IAbsoluteFilePath
return System.Threading.Tasks.Task

CreateDesktopGameIcon() public static method

public static CreateDesktopGameIcon ( string name, string description, string arguments, Game game, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
name string
description string
arguments string
game Game
icon IAbsoluteFilePath
return System.Threading.Tasks.Task

CreateDesktopPwsIcon() public static method

public static CreateDesktopPwsIcon ( string name, string description, string arguments, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
name string
description string
arguments string
icon IAbsoluteFilePath
return System.Threading.Tasks.Task

CreateDesktopPwsIconCustomRepo() public static method

public static CreateDesktopPwsIconCustomRepo ( string name, string description, Uri target, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
name string
description string
target System.Uri
icon IAbsoluteFilePath
return System.Threading.Tasks.Task

CreateShortcut() public static method

public static CreateShortcut ( ShortcutInfo info ) : void
info withSIX.Core.ShortcutInfo
return void

CreateShortcutAsync() public static method

public static CreateShortcutAsync ( ShortcutInfo info ) : System.Threading.Tasks.Task
info withSIX.Core.ShortcutInfo
return System.Threading.Tasks.Task