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

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode 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

Méthode Description
GenerateBatContent ( IAbsoluteFilePath target, IAbsoluteDirectoryPath workDir, string pars ) : string
GetDesktop ( ) : IAbsoluteDirectoryPath
MakeValidShortcutFileName ( string fileName ) : string

Method Details

CreateDesktopGameBat() public static méthode

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
Résultat System.Threading.Tasks.Task

CreateDesktopGameIcon() public static méthode

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
Résultat System.Threading.Tasks.Task

CreateDesktopPwsIcon() public static méthode

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

CreateDesktopPwsIconCustomRepo() public static méthode

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
Résultat System.Threading.Tasks.Task

CreateShortcut() public static méthode

public static CreateShortcut ( ShortcutInfo info ) : void
info withSIX.Core.ShortcutInfo
Résultat void

CreateShortcutAsync() public static méthode

public static CreateShortcutAsync ( ShortcutInfo info ) : System.Threading.Tasks.Task
info withSIX.Core.ShortcutInfo
Résultat System.Threading.Tasks.Task