示例#1
0
 public DeleteOfflineNonFarmInstance(IFarmContext context, IInstanceService instanceService, IFarmBuilder farmBuilder, IStateService stateService)
 {
     _context         = context;
     _instanceService = instanceService;
     _farmBuilder     = farmBuilder;
     _stateService    = stateService;
 }
示例#2
0
 public RelaunchOfflineInstance(IFarmContext context, IDateTime dateTime, IFarmBuilder farmBuilder, IInstanceService instanceService)
 {
     _context         = context;
     _dateTime        = dateTime;
     _farmBuilder     = farmBuilder;
     _instanceService = instanceService;
 }
示例#3
0
 public LaunchInstance(IFarmBuilder farmBuilder, IFarmContext context, IInstanceService instanceService, IDateTime dateTime)
 {
     _farmBuilder     = farmBuilder;
     _context         = context;
     _instanceService = instanceService;
     _dateTime        = dateTime;
 }
示例#4
0
 public StateService(IFarmContext context, IDateTime dateTime, ISettingsService settingsService, IFarmBuilder farmBuilder, IClientHandler clientHandler)
 {
     _context         = context;
     _dateTime        = dateTime;
     _settingsService = settingsService;
     _farmBuilder     = farmBuilder;
     _clientHandler   = clientHandler;
 }
示例#5
0
 public StopFarmWhenEmpty(IFarmBuilder farmBuilder, IStateService stateService, ILogger <StopFarmWhenEmpty> logger)
 {
     _farmBuilder  = farmBuilder;
     _stateService = stateService;
     _logger       = logger;
 }