Ejemplo n.º 1
0
        public void Init(IHostV30 host, string config)
        {
            _host = host;

            if (Configure(config))
            {
                _host.UserAccountActivity += Host_UserAccountActivity;
                _notificationSender.Configure(_host, _settings);

                _logger.Info(String.Format("Waiting list is enabled after {0} attendees with a hard limit of {1}.",
                                           _configuration.MaximumAttendees,
                                           _configuration.HardLimit),
                             "SYSTEM");
            }
            else
            {
                _logger.Error("The auto registration plugin will be disabled.", "SYSTEM");
            }
        }