mirror of
https://github.com/kevincolyar/CronNET.git
synced 2026-03-17 19:18:05 +01:00
Added IoC interfaces. Nuget auto restore
Added interfaces to allow injection and mocking. Setup test to use nuget packages to allow easier setup
This commit is contained in:
@@ -4,7 +4,13 @@ using System.Text.RegularExpressions;
|
||||
|
||||
namespace CronNET
|
||||
{
|
||||
public class CronSchedule
|
||||
public interface ICronSchedule
|
||||
{
|
||||
bool isValid(string expression);
|
||||
bool isTime(DateTime date_time);
|
||||
}
|
||||
|
||||
public class CronSchedule : ICronSchedule
|
||||
{
|
||||
#region Readonly Class Members
|
||||
|
||||
|
||||
Reference in New Issue
Block a user