Closed TruffleMuffin closed 10 years ago
By using OnValue in
container.Register(Component.For<PolicyService>().DependsOn(Dependency.OnValue("providers", container.ResolveAll<IPolicyProvider>())));
I am registering IPolicyProviders available at that point in the installation phase only. This may cause problems where not all providers are registered correctly.
By using OnValue in
I am registering IPolicyProviders available at that point in the installation phase only. This may cause problems where not all providers are registered correctly.