voile/Voile/VoileTask.cs
2026-01-12 22:51:27 +01:00

28 lines
526 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Voile
{
internal class VoileTask : ListViewItem
{
public VoileTask(string name, VoileRunnable runnable = null)
{
this.Name = name;
this.Text = name;
this.Guid = Guid.NewGuid();
this.ImageIndex = 0;
this.Runnable = runnable;
}
public string Name { get; private set; }
public Guid Guid { get; private set; }
public VoileRunnable Runnable { get; private set; }
}
}