public void Setup() { var cacheProvider = new ConfigurationCodeFeatureStateCacheProvider(); _featureCache = new CodeFeatureStateCache(cacheProvider); var userCacheProvider = new ConfigurationContextFeatureStateCacheProvider <UserContext>(); _userCache = new ContextFeatureStateCache <UserContext>(userCacheProvider, new UserContextKeyProvider()); }
public void Setup() { var cacheProvider = new ConfigurationCodeFeatureStateCacheProvider(); _featureCache = new CodeFeatureStateCache(cacheProvider); }