Beispiel #1
0
 public ServiceController(IApiThrottler apiThrottler, IMorpherLog log, IMorpherDatabase morpherDatabase, IMorpherCache morpherCache)
 {
     this._apiThrottler = apiThrottler;
     this._log          = log;
     _morpherDatabase   = morpherDatabase;
     _morpherCache      = morpherCache;
 }
 public ThrottlingMiddleware(
     OwinMiddleware next,
     IApiThrottler apiThrottler,
     IAttributeUrls attributeUrls) : base(next)
 {
     _apiThrottler  = apiThrottler;
     _attributeUrls = attributeUrls;
 }
Beispiel #3
0
 public UserCacheLoaderMiddleware(
     OwinMiddleware next,
     IApiThrottler apiThrottler,
     IMorpherCache cache,
     IMorpherDatabase database) : base(next)
 {
     _apiThrottler = apiThrottler;
     _cache        = cache;
     _database     = database;
 }