2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-14 00:06:58 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Windows Task item used by app.setUserTasks.
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
|
|
|
|
[SupportedOSPlatform("Windows")]
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class UserTask
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the arguments.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The arguments.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Arguments { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the description.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The description.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Description { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the index of the icon.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The index of the icon.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public int IconIndex { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the icon path.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The icon path.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string IconPath { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the program.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The program.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Program { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the title.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The title.
|
|
|
|
|
|
/// </value>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Title { get; set; }
|
2020-05-31 03:09:54 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The working directory. Default is <see cref="string.Empty"/>.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string WorkingDirectory { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
}
|
2020-05-31 03:09:54 +02:00
|
|
|
|
}
|