private static void SimpleTest <T>(IMvxNavigationCache cache, string key, T value, T expected) { Assert.True(cache.AddValue(key, value)); var addedValue = cache.GetValueOrDefault <T>(key); Assert.Equal(expected, addedValue); }
public TrackingNavigationService( IMvxNavigationCache navigationCache, IMvxViewModelLoader viewModelLoader, IAnalyticsService analyticsService) : base(navigationCache, viewModelLoader) { this.analyticsService = analyticsService; }
public NavigationService( IMvxNavigationCache navigationCache, IMvxViewModelLoader viewModelLoader, IAnalyticsService analyticsService, Platform platform) : base(navigationCache, viewModelLoader) { this.analyticsService = analyticsService; this.platform = platform; }
public RestlyNavigationService( IMvxNavigationCache navigationCache, IMvxViewModelLoader viewModelLoader) : base(navigationCache, viewModelLoader) { }