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; } } }