title: Better way of checking null in dependency injection
body: <p>When using dependency injection through a constructor I always need to check for nulls before passing the instance to an internal property. e.g.</p>
  
  <pre><code>public UserManager(User user, IStateManager stateManager)
  {
      if(user == null) throw new ArgumentNullException;
      if(statemanager == null) throw new ArgumentNullException("stateManager");
  
      _user = user;
      _stateManager = statemanager;
  } 
  </code></pre>
  
  <p>repeating this pattern on every controller / class seems repetitive. Is there a better way to handle this? btw different controllers will have different constructor initialisers. I am using Simple Injector for my DI.</p>