title: IValidator could not be located with the ServiceLocator
body: <p>I get the following error when using sharparchitecture and try to call IValidatable.IsValid on a Domain Object.</p>
  
  <p>How can I register an instance of the NHibernate validator against the common service locator?</p>
  
  <p>I have seen the following unit tests:</p>
  
  <p><a href="http://code.google.com/p/sharp-architecture/source/browse/trunk/src/SharpArch/SharpArch.Tests/SharpArch.Core/SafeServiceLocatorTests.cs?spec=svn385&amp;r=385" rel="nofollow noreferrer">http://code.google.com/p/sharp-architecture/source/browse/trunk/src/SharpArch/SharpArch.Tests/SharpArch.Core/SafeServiceLocatorTests.cs?spec=svn385&amp;r=385</a></p>
  
  <p>Any help with this would really be appreciated.</p>
  
  <pre><code>The needed dependency of type IValidator could not be located with the ServiceLocator.     You'll need to register it with the Common Service Locator (CSL) via your IoC's CSL adapter.
  
     at SharpArch.Core.SafeServiceLocator`1.GetService() in     C:\MyStuff\Projects\SharpArchGitHub\src\SharpArch\SharpArch.Core\SafeServiceLocator.cs:line 29
     at SharpArch.Core.DomainModel.ValidatableObject.IsValid() in     C:\MyStuff\Projects\SharpArchGitHub\src\SharpArch\SharpArch.Core\DomainModel\ValidatableObject  .cs:line 11
     at Tuhdoo.Common.Validation.ValidatableExtensions.Validate(IValidatable entity) in D:\Repository\Tuhdoo\src\Tuhdoo.Common\Validation\ValidatableExtensions.cs:line 26
  </code></pre>