1
0
mirror of synced 2024-12-18 17:25:54 +01:00
GC-local-server-rewrite/Application/Game/Card/CardDependencyAggregate.cs
2023-02-16 16:53:02 +08:00

19 lines
563 B
C#

using Domain.Config;
using Microsoft.Extensions.Options;
namespace Application.Game.Card;
public class CardDependencyAggregate : ICardDependencyAggregate
{
public CardDependencyAggregate(ICardDbContext cardDbContext, IMusicDbContext musicDbContext, IOptions<GameConfig> options)
{
CardDbContext = cardDbContext;
MusicDbContext = musicDbContext;
Options = options;
}
public ICardDbContext CardDbContext { get; }
public IMusicDbContext MusicDbContext { get; }
public IOptions<GameConfig> Options { get; }
}