cookSolver 최신화

This commit is contained in:
NTG 2025-08-29 14:17:32 +09:00
parent 7b8f4cc245
commit 34790bbc1a

View File

@ -3,18 +3,16 @@
namespace DDD.Restaurant namespace DDD.Restaurant
{ {
public static class RestaurantCookSolvers public class RestaurantCookSolver : RestaurantSubsystemSolver<RestaurantCookType>
{ {
public static Dictionary<RestaurantCookType, Type> TypeToManagementSolver = new() private Dictionary<RestaurantCookType, Type> _typeToCookingSolver = new()
{ {
{ RestaurantCookType.OpenCookUi, typeof(RestaurantCookSolver_OpenCookUi) }, { RestaurantCookType.OpenCookUi, typeof(RestaurantCookSolver_OpenCookUi) },
}; };
}
public class RestaurantCookSolver : RestaurantSubsystemSolver<RestaurantCookType>
{
protected override Dictionary<RestaurantCookType, Type> GetSubsystemSolverTypeMappings() protected override Dictionary<RestaurantCookType, Type> GetSubsystemSolverTypeMappings()
{ {
return RestaurantCookSolvers.TypeToManagementSolver; return _typeToCookingSolver;
} }
} }
} }