public RoutedAppHost(IRoutedAppConfig config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } this.config = config; }
public RouterTests() { "Given a routed app config" .x(() => config = new CompositeRoutedAppConfig( new DefaultDependencies(), new ShareNavigationDependencies(), new TestRoutedAppConfig())); }
public RoutedAppHostTests() { Config = Substitute.For <IRoutedAppConfig>(); AppHost = new RoutedAppHost(Config); }
public App(IRoutedAppConfig platformDependencies = null) { this.platformDependencies = platformDependencies; StartHost(); }