Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add ILogger

  • Loading branch information...
commit c7609cb0f8cac7818a8abf16299787eb1817d18d 1 parent 637a9e7
judell authored

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 DDay.iCal.Validator/Validation/Validation.cs
7 DDay.iCal.Validator/Validation/Validation.cs
@@ -9,6 +9,12 @@ public abstract class Validation :
9 9 {
10 10 #region Constructors
11 11
  12 + public Validation(IResourceManager mgr, ILogger logger)
  13 + {
  14 + ResourceManager = mgr;
  15 + Logger = logger;
  16 + }
  17 +
12 18 public Validation(IResourceManager mgr)
13 19 {
14 20 ResourceManager = mgr;
@@ -77,6 +83,7 @@ protected void Fatal(ValidationResultCollection results, string errorName, int l
77 83 #region IValidator Members
78 84
79 85 public IResourceManager ResourceManager { get; protected set; }
  86 + public ILogger Logger { get; protected set; }
80 87 public abstract IValidationResultCollection Validate();
81 88
82 89 #endregion

0 comments on commit c7609cb

Please sign in to comment.
Something went wrong with that request. Please try again.