Permalink
Browse files

add ILogger

  • Loading branch information...
1 parent 637a9e7 commit c7609cb0f8cac7818a8abf16299787eb1817d18d @judell committed Jul 19, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 DDay.iCal.Validator/Validation/Validation.cs
@@ -9,6 +9,12 @@ public abstract class Validation :
{
#region Constructors
+ public Validation(IResourceManager mgr, ILogger logger)
+ {
+ ResourceManager = mgr;
+ Logger = logger;
+ }
+
public Validation(IResourceManager mgr)
{
ResourceManager = mgr;
@@ -77,6 +83,7 @@ protected void Fatal(ValidationResultCollection results, string errorName, int l
#region IValidator Members
public IResourceManager ResourceManager { get; protected set; }
+ public ILogger Logger { get; protected set; }
public abstract IValidationResultCollection Validate();
#endregion

0 comments on commit c7609cb

Please sign in to comment.