title: Microsoft.Practices.ServiceLocation and TryGetInstance
body: <p>Why <code>Microsoft.Practices.ServiceLocation.IServiceLocator</code> does not offer TryGetInstance()?</p>
  
  <p>I need to get generic validator instance <code>ServiceLocator.Current.GetInstance&lt;IEntityValidator&lt;TEntity&gt;&gt;()</code> but not all Entities has registered validator. </p>
  
  <p>The only solution i found is to use try{}catch{} block, but i dont like this approach.</p>