C# Класс withSIX.Play.Applications.Helpers.ShortcutCreator

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GenerateBatContent ( IAbsoluteFilePath target, IAbsoluteDirectoryPath workDir, string pars ) : string
GetDesktop ( ) : IAbsoluteDirectoryPath
MakeValidShortcutFileName ( string fileName ) : string

Описание методов

CreateDesktopGameBat() публичный статический Метод

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
Результат System.Threading.Tasks.Task

CreateDesktopGameIcon() публичный статический Метод

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
Результат System.Threading.Tasks.Task

CreateDesktopPwsIcon() публичный статический Метод

public static CreateDesktopPwsIcon ( string name, string description, string arguments, IAbsoluteFilePath icon = null ) : System.Threading.Tasks.Task
name string
description string
arguments string
icon IAbsoluteFilePath
Результат System.Threading.Tasks.Task

CreateDesktopPwsIconCustomRepo() публичный статический Метод

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
Результат System.Threading.Tasks.Task

CreateShortcut() публичный статический Метод

public static CreateShortcut ( ShortcutInfo info ) : void
info withSIX.Core.ShortcutInfo
Результат void

CreateShortcutAsync() публичный статический Метод

public static CreateShortcutAsync ( ShortcutInfo info ) : System.Threading.Tasks.Task
info withSIX.Core.ShortcutInfo
Результат System.Threading.Tasks.Task