Beispiel #1
0
 public CommandBans(IStringLocalizer stringLocalizer, IPluginAccessor <PlayerInfoLibrary> pilPlugin, GlobalBanDbContext globalBanDbContext,
                    IUserManager userManager, IGlobalBanRepository globalBanRepository, IServiceProvider serviceProvider) : base(serviceProvider)
 {
     m_UserManager         = userManager;
     m_PilPlugin           = pilPlugin;
     m_GlobalBanRepository = globalBanRepository;
     m_StringLocalizer     = stringLocalizer;
     m_DbContext           = globalBanDbContext;
 }
Beispiel #2
0
 public CommandBans(IStringLocalizer stringLocalizer, GlobalBanDbContext globalBanDbContext,
                    IUserManager userManager, IPlayerInfoRepository playerInfoRepository,
                    IGlobalBanRepository globalBanRepository, IServiceProvider serviceProvider) : base(serviceProvider)
 {
     m_UserManager          = userManager;
     m_PlayerInfoRepository = playerInfoRepository;
     m_GlobalBanRepository  = globalBanRepository;
     m_StringLocalizer      = stringLocalizer;
     m_DbContext            = globalBanDbContext;
 }
Beispiel #3
0
 public GlobalBanPlugin(
     IConfiguration configuration,
     IStringLocalizer stringLocalizer,
     ILogger <GlobalBanPlugin> logger,
     IUserManager userManager,
     IGlobalBanRepository globalBanRepository, IPluginAccessor <PlayerInfoLibrary> pilPlugin,
     GlobalBanDbContext globalBanDbContext,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     m_Configuration       = configuration;
     m_StringLocalizer     = stringLocalizer;
     m_Logger              = logger;
     m_UserManager         = userManager;
     m_GlobalBanDbContext  = globalBanDbContext;
     m_GlobalBanRepository = globalBanRepository;
     m_PilPlugin           = pilPlugin;
 }