mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-13 21:24:00 +00:00
65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
using System.Runtime.Versioning;
|
|
|
|
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
/// Windows Task item used by app.setUserTasks.
|
|
/// </summary>
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
[SupportedOSPlatform("Windows")]
|
|
public class UserTask
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the arguments.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The arguments.
|
|
/// </value>
|
|
public string Arguments { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the description.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The description.
|
|
/// </value>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the index of the icon.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The index of the icon.
|
|
/// </value>
|
|
public int IconIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the icon path.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The icon path.
|
|
/// </value>
|
|
public string IconPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the program.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The program.
|
|
/// </value>
|
|
public string Program { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the title.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The title.
|
|
/// </value>
|
|
public string Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// The working directory. Default is <see cref="string.Empty"/>.
|
|
/// </summary>
|
|
public string WorkingDirectory { get; set; }
|
|
}
|
|
} |