views:

28

answers:

0

I anticipate having various assemblies that each contain a static class, with a static property, that might need to be "set" the moment the assembly they are in is loaded. This other post has an example of a static class that could benefit from such a procedure, such as when integration or unit tests are applied.

I wonder if there is any IOC Container that can register assembly load events, and use reflection in those events to find specified static class/property pairs, and set them - shortly after the assembly has loaded. Yes? No?