2020-05-27 00:51:48 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-21 04:37:01 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// Structure of a shortcut.
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-21 04:37:01 +02:00
|
|
|
|
public class ShortcutDetails
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The Application User Model ID. Default is <see cref="string.Empty"/>.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string AppUserModelId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The arguments to be applied to <see cref="Target"/> when launching from this shortcut. Default is <see cref="string.Empty"/>.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Args { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The working directory. Default is <see cref="string.Empty"/>.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Cwd { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The description of the shortcut. Default is <see cref="string.Empty"/>.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The path to the icon, can be a DLL or EXE. <see cref="Icon"/> and <see cref="IconIndex"/> have to be set
|
|
|
|
|
|
/// together. Default is <see cref="string.Empty"/>, which uses the target's icon.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Icon { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-05-27 00:51:48 +02:00
|
|
|
|
/// The resource ID of icon when <see cref="Icon"/> is a DLL or EXE. Default is 0.
|
2017-10-21 04:37:01 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int IconIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The target to launch from this shortcut.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Target { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|