Inheritance: IPollAccessControlService
示例#1
0
    public PollService(ILogger logger = null,
                       IPollAccessControlService pollAccessControlService = null)
    {
      if (logger == null) logger = new EmptyLogger();
      if (pollAccessControlService == null) pollAccessControlService = new EmptyAccessControlService();

      _Logger = logger;
      _PollAccessControlService = pollAccessControlService;
    }
示例#2
0
        public PollService(ILogger logger = null,
                           IPollAccessControlService pollAccessControlService = null)
        {
            if (logger == null)
            {
                logger = new EmptyLogger();
            }
            if (pollAccessControlService == null)
            {
                pollAccessControlService = new EmptyAccessControlService();
            }

            _Logger = logger;
            _PollAccessControlService = pollAccessControlService;
        }