A demo xUnit project that shows how to used Named or Keyed dependency resolution using the Microsoft Dependency Injection container.
For full details, refer to http://stevetalkscode.co.uk/named-dependencies-part-2 for explanation of the overall approach and http://stevetalkscode.co.uk/simplifying-di-with-functions