/// <summary> /// Internal constructor for a task, used by <see cref="TaskScheduler"/>. /// </summary> /// <param name="iTask">Instance of an ITask.</param> /// <param name="taskName">Name of the task.</param> internal ScheduledTask(ITask iTask, string taskName) { this.iTask = iTask; if (taskName.EndsWith(".job")) name = taskName.Substring(0, taskName.Length - 4); else name = taskName; triggers = null; this.Hidden = GetHiddenFileAttr(); }
/// <summary> /// Internal constructor - Only accessible through <see cref="IEnumerable.GetEnumerator()"/>. /// </summary> /// <param name="outer">Instance of a TriggerList.</param> internal Enumerator(TriggerList outer) { this.outer = outer; Reset(); }