/// <summary> /// Starts /// </summary> public static void Start() { var container = IocManage.Initialize(); // var container = ObjectFactory.Container; GlobalConfiguration.Configuration.DependencyResolver = new SmDependencyResolver(container); }
public IDependencyScope BeginScope() { _container = IocManage.Initialize(); return(new StructureMapScope(_container)); }