mirror of
https://github.com/sphildreth/roadie
synced 2024-11-23 12:43:13 +00:00
31 lines
No EOL
935 B
C#
31 lines
No EOL
935 B
C#
using Microsoft.Extensions.Logging;
|
|
using Roadie.Library.Caching;
|
|
using Roadie.Library.Configuration;
|
|
using Roadie.Library.Data;
|
|
using Roadie.Library.Encoding;
|
|
|
|
namespace Roadie.Library.Engines
|
|
{
|
|
public abstract class LookupEngineBase
|
|
{
|
|
protected ICacheManager CacheManager { get; }
|
|
|
|
protected IRoadieSettings Configuration { get; }
|
|
|
|
protected IRoadieDbContext DbContext { get; }
|
|
|
|
protected IHttpEncoder HttpEncoder { get; }
|
|
|
|
protected ILogger Logger { get; }
|
|
|
|
public LookupEngineBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context,
|
|
ICacheManager cacheManager, ILogger logger)
|
|
{
|
|
Configuration = configuration;
|
|
HttpEncoder = httpEncoder;
|
|
DbContext = context;
|
|
CacheManager = cacheManager;
|
|
Logger = logger;
|
|
}
|
|
}
|
|
} |