private void EnsureDependencies(IAppHost appHost)
        {
            if (KeyGenerator == null)
            {
                KeyGenerator = new LimitKeyGenerator();
            }

            if (LimitProvider == null)
            {
                LimitProvider = new LimitProviderBase(KeyGenerator, appHost.AppSettings);
            }
        }
        private void EnsureDependencies(IAppHost appHost)
        {           
            if (KeyGenerator == null)
                KeyGenerator = new LimitKeyGenerator();

            if (LimitProvider == null)
                LimitProvider = new LimitProviderBase(KeyGenerator, appHost.AppSettings);
        }