I have several WebActivator.PreApplicationStartMethod decorated classes.
One is for Ninject, another class for AwesomeMVC and a third one is for background task scheduler.
The problem is that the scheduler class needs to take advantage of the dependecies, that are resolved by IoC container.
My questions are:
- Can I have several WebActivator.PreApplicationStartMethod classes?
- Can I define order, in which they are initialized, so that IoC, being the most important, comes first?
- Can WebActivator.PreApplicationStartMethod static class instances rely on IoC container to resolve their constructor-defined dependencies?