Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
the code:
ServiceLocator.SetLocatorProvider(()=>_container.Resolve<IServiceLocator>());

what I can't understand is that use the IServiceLocator with Castle in the code .
Is it that use the IServiceLocator as a component or other ?

help ,thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900