Fixed spelling lol

This commit is contained in:
XorogVEVO 2022-02-19 18:34:03 +01:00
parent 05893d4bdf
commit 9d0d220d8b

View file

@ -225,7 +225,7 @@ public static class UniversalExtensions
/// </summary> /// </summary>
/// <param name="UID">The task's unique identifier</param> /// <param name="UID">The task's unique identifier</param>
/// <exception cref="Exception">Throws if the task hasn't been found or if an internal error occured</exception> /// <exception cref="Exception">Throws if the task hasn't been found or if an internal error occured</exception>
public static void DeleteSheduleTask(string UID) public static void DeleteScheduleTask(string UID)
{ {
if (!registeredScheduledTasks.ContainsKey(UID)) if (!registeredScheduledTasks.ContainsKey(UID))
throw new Exception($"No sheduled task has been found with UID '{UID}'"); throw new Exception($"No sheduled task has been found with UID '{UID}'");
@ -244,7 +244,7 @@ public static class UniversalExtensions
/// Gets a list of all registered tasks /// Gets a list of all registered tasks
/// </summary> /// </summary>
/// <returns>A list of all registered tasks</returns> /// <returns>A list of all registered tasks</returns>
public static List<KeyValuePair<string, taskInfo>>? GetSheduleTasks() public static List<KeyValuePair<string, taskInfo>>? GetScheduleTasks()
{ {
return registeredScheduledTasks.ToList(); return registeredScheduledTasks.ToList();
} }
@ -257,7 +257,7 @@ public static class UniversalExtensions
/// <param name="UID">The unique identifier of what task to get</param> /// <param name="UID">The unique identifier of what task to get</param>
/// <returns>The task</returns> /// <returns>The task</returns>
/// <exception cref="Exception">Throws if the task has not been found</exception> /// <exception cref="Exception">Throws if the task has not been found</exception>
public static taskInfo GetSheduleTask(string UID) public static taskInfo GetScheduleTask(string UID)
{ {
if (!registeredScheduledTasks.ContainsKey(UID)) if (!registeredScheduledTasks.ContainsKey(UID))
throw new Exception($"The specified task doesn't exist."); throw new Exception($"The specified task doesn't exist.");