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