Наследование: ServiceLocatorImplBase
Пример #1
0
        private static void SetServiceLocator(IContainer container)
        {
            var locator = new StructureMapServiceLocator(container);

            ServiceLocator.SetLocatorProvider(() => locator);
        }
 private static void SetServiceLocator(IContainer container)
 {
     var locator = new StructureMapServiceLocator(container);
     ServiceLocator.SetLocatorProvider(() => locator);
 }