예제 #1
0
파일: BotHost.cs 프로젝트: ploxolq/Kahla
 public BotHost(
     BotCommander <T> botCommander,
     BotLogger botLogger,
     SettingsService settingsService,
     KahlaLocation kahlaLocation,
     FriendshipService friendshipService,
     HomeService homeService,
     VersionService versionService,
     AuthService authService,
     EventSyncer <T> eventSyncer,
     ProfileContainer profileContainer,
     BotFactory <T> botFactory)
 {
     _botCommander      = botCommander.InjectHost(this);
     _botLogger         = botLogger;
     _settingsService   = settingsService;
     _kahlaLocation     = kahlaLocation;
     _friendshipService = friendshipService;
     _homeService       = homeService;
     _versionService    = versionService;
     _authService       = authService;
     _eventSyncer       = eventSyncer;
     _profileContainer  = profileContainer;
     _botFactory        = botFactory;
 }
예제 #2
0
 public BotHost(
     BotCommander <T> botCommander,
     BotLogger botLogger,
     SettingsService settingsService,
     KahlaLocation kahlaLocation,
     FriendshipService friendshipService,
     AuthService authService,
     EventSyncer <T> eventSyncer,
     ProfileContainer profileContainer,
     BotFactory <T> botFactory,
     IEnumerable <IHostedService> backgroundJobs)
 {
     _botCommander      = botCommander.InjectHost(this);
     _botLogger         = botLogger;
     _settingsService   = settingsService;
     _kahlaLocation     = kahlaLocation;
     _friendshipService = friendshipService;
     _authService       = authService;
     _eventSyncer       = eventSyncer;
     _profileContainer  = profileContainer;
     _botFactory        = botFactory;
     _backgroundJobs    = backgroundJobs;
 }