PluralKit/PluralKit.Core/Database/Repository/ModelRepository.cs

17 lines
405 B
C#
Raw Normal View History

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
2020-08-29 11:46:27 +00:00
{
private readonly IDatabase _db;
private readonly DispatchService _dispatch;
private readonly ILogger _logger;
public ModelRepository(ILogger logger, IDatabase db, DispatchService dispatch)
2020-08-29 11:46:27 +00:00
{
_logger = logger.ForContext<ModelRepository>();
_db = db;
_dispatch = dispatch;
2020-08-29 11:46:27 +00:00
}
}