title: Asp.net MVC RouteBase and IoC
body: <p>I am creating a custom route by subclassing RouteBase. I have a dependency in there that I'd like to wire up with IoC. The method GetRouteData just takes HttpContext, but I want to add in my unit of work as well....somehow.</p>
  
  <p>I am using StructureMap, but info on how you would do this with any IoC framework would be helpful.</p>