Esempio n. 1
0
        public UnturnedLog(IConfiguration configuration, IStringLocalizer stringLocalizer, ILogger <UnturnedLog> logger, UnturnedLogDbContext dbcontext, IUnturnedLogRepository unturnedLogRepository,
                           IServiceProvider serviceProvider) : base(serviceProvider)

        {
            m_Configuration         = configuration;
            m_StringLocalizer       = stringLocalizer;
            m_Logger                = logger;
            m_DbContext             = dbcontext;
            m_UnturnedLogRepository = unturnedLogRepository;
        }
 // Initializing the Class
 public UserEventsListener(IUnturnedLogRepository UnturnedLogRepository, IConfiguration configuration)
 {
     // Uses the Repository for the plugin implementation aswell as the configuration file.
     m_UnturnedLogRepository = UnturnedLogRepository;
     m_Configuration         = configuration;
 }