tags:

views:

10

answers:

0

With Unity, is it possible to register a parameter by name? My use case is the following. I want to register a value of type DateTime named "asOfDate" such that for any type that has a dependency on DateTime with constructor parameter named "asOfDate", Unity will serve an instance of DateTime equal to the registered value