Exemple #1
0
 public DraftStatusCommand(
     string commandSource,
     IUser user,
     IList <string> arguments,
     ILogger logger,
     IFlagService flagService,
     IConfigurationProvider configurationProvider,
     IIrcClient client,
     AfcCategoryConfiguration categoryConfiguration,
     IMediaWikiApiHelper apiHelper,
     ISession databaseSession,
     IDraftStatusService draftStatusService, ILinkerService linkerService, IUrlShorteningService urlShorteningService) : base(
         commandSource,
         user,
         arguments,
         logger,
         flagService,
         configurationProvider,
         client)
 {
     this.categoryConfiguration = categoryConfiguration;
     this.apiHelper             = apiHelper;
     this.databaseSession       = databaseSession;
     this.draftStatusService    = draftStatusService;
     this.linkerService         = linkerService;
     this.urlShorteningService  = urlShorteningService;
 }
 public DraftStatusService(AfcCategoryConfiguration categoryConfiguration, ILogger logger)
 {
     this.categoryConfiguration = categoryConfiguration;
     this.logger = logger;
 }