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.");