namespace PkmnLib.Dynamic; public static class StaticHelpers { /// /// A function to get the current date and time. This can be replaced in cases where the date and time /// may not be the same as the system time. /// public static Func DateTimeProvider { get; set; } = () => DateTime.Now; /// /// Get the current date and time. /// public static DateTime GetCurrentDateTime() => DateTimeProvider(); }