Esempio n. 1
0
        //private string optionName;

        public PollController(IPollRoutine pollRoutine, IHttpContextAccessor httpContextAccessor,
                              IModelPopulator modelPopulator, IUrlGenerator urlGenerator)
        {
            _pollRoutine         = pollRoutine;
            _httpContextAccessor = httpContextAccessor;
            _modelPopulator      = modelPopulator;
            _urlGenerator        = urlGenerator;
        }
 public PropertyExamplesBuilder(IModelPopulator populator, IPropertySourceGenerator sourceGenerator, ITagGeneratorFactory generatorFactory)
 {
     _populator = populator;
     _sourceGenerator = sourceGenerator;
     _generatorFactory = generatorFactory;
 }
 public PropertyExamplesBuilder(IModelPopulator populator, IPropertySourceGenerator sourceGenerator, ITagGeneratorFactory generatorFactory)
 {
     _populator        = populator;
     _sourceGenerator  = sourceGenerator;
     _generatorFactory = generatorFactory;
 }