public void EnsureLoaded() { if (_loaded) { return; } _loaded = true; Mvx.LazyConstructAndRegisterSingleton(typeof(IMvxRoutingService), () => { MvxRoutingService.LoadRoutes(_configuration.SourceAssemblies); return(Mvx.IocConstruct <MvxRoutingService>()); }); }
public static void SetupFixture() { MvxRoutingService.LoadRoutes(new[] { typeof(RoutingServiceTests).Assembly }); }