1
0
mirror of synced 2024-12-28 22:03:05 +01:00
GC-local-server-rewrite/Application/Game/Card/CardDependencyAggregate.cs
2023-02-13 02:12:26 +08:00

20 lines
593 B
C#

using Application.Interfaces;
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; }
}