2021-08-27 11:03:47 -04:00
|
|
|
using Serilog;
|
2020-08-29 13:46:27 +02:00
|
|
|
|
2021-11-26 21:10:56 -05:00
|
|
|
namespace PluralKit.Core;
|
|
|
|
|
|
|
|
public partial class ModelRepository
|
2020-08-29 13:46:27 +02:00
|
|
|
{
|
2021-11-26 21:10:56 -05:00
|
|
|
private readonly IDatabase _db;
|
|
|
|
private readonly DispatchService _dispatch;
|
|
|
|
private readonly ILogger _logger;
|
|
|
|
|
|
|
|
public ModelRepository(ILogger logger, IDatabase db, DispatchService dispatch)
|
2020-08-29 13:46:27 +02:00
|
|
|
{
|
2021-11-26 21:10:56 -05:00
|
|
|
_logger = logger.ForContext<ModelRepository>();
|
|
|
|
_db = db;
|
|
|
|
_dispatch = dispatch;
|
2020-08-29 13:46:27 +02:00
|
|
|
}
|
|
|
|
}
|