From 9d0d220d8b4957262639555d34c846068dbddefa Mon Sep 17 00:00:00 2001 From: XorogVEVO Date: Sat, 19 Feb 2022 18:34:03 +0100 Subject: [PATCH] Fixed spelling lol --- UniversalExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UniversalExtensions.cs b/UniversalExtensions.cs index 4a86b31..eef69cc 100644 --- a/UniversalExtensions.cs +++ b/UniversalExtensions.cs @@ -225,7 +225,7 @@ public static class UniversalExtensions /// /// The task's unique identifier /// Throws if the task hasn't been found or if an internal error occured - public static void DeleteSheduleTask(string UID) + public static void DeleteScheduleTask(string UID) { if (!registeredScheduledTasks.ContainsKey(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 /// /// A list of all registered tasks - public static List>? GetSheduleTasks() + public static List>? GetScheduleTasks() { return registeredScheduledTasks.ToList(); } @@ -257,7 +257,7 @@ public static class UniversalExtensions /// The unique identifier of what task to get /// The task /// Throws if the task has not been found - public static taskInfo GetSheduleTask(string UID) + public static taskInfo GetScheduleTask(string UID) { if (!registeredScheduledTasks.ContainsKey(UID)) throw new Exception($"The specified task doesn't exist.");