示例#1
0
        //private string optionName;

        public PollController(IPollRoutine pollRoutine, IHttpContextAccessor httpContextAccessor,
                              IModelPopulator modelPopulator, IUrlGenerator urlGenerator)
        {
            _pollRoutine         = pollRoutine;
            _httpContextAccessor = httpContextAccessor;
            _modelPopulator      = modelPopulator;
            _urlGenerator        = urlGenerator;
        }
示例#2
0
 public ModelPopulator(IPollRoutine pollRoutine)
 {
     _pollRoutine = pollRoutine;
 }