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:
derikwhittaker
2013-12-14 08:40:37 -05:00
parent 563fa78c55
commit 6be84f0cf9
19 changed files with 11221 additions and 32 deletions

View File

@@ -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