2021-08-27 15:03:47 +00:00
|
|
|
using Serilog;
|
2020-08-29 11:46:27 +00:00
|
|
|
|
|
|
|
namespace PluralKit.Core
|
|
|
|
{
|
|
|
|
public partial class ModelRepository
|
|
|
|
{
|
|
|
|
private readonly ILogger _logger;
|
2021-09-30 01:51:38 +00:00
|
|
|
private readonly IDatabase _db;
|
2021-11-02 10:08:17 +00:00
|
|
|
private readonly DispatchService _dispatch;
|
|
|
|
public ModelRepository(ILogger logger, IDatabase db, DispatchService dispatch)
|
2020-08-29 11:46:27 +00:00
|
|
|
{
|
2021-06-10 12:21:05 +00:00
|
|
|
_logger = logger.ForContext<ModelRepository>();
|
2021-09-30 01:51:38 +00:00
|
|
|
_db = db;
|
2021-11-02 10:08:17 +00:00
|
|
|
_dispatch = dispatch;
|
2020-08-29 11:46:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|