Beispiel #1
0
 public ObjectService(
     AppUserManager userManager,
     IObjectRepository objectRepository,
     IProjectRepository projectRepository,
     IGranitRepository granitRepository,
     ICarBrandRepository carBrandRepository,
     IBusDataRepository busDataRepository,
     EventLogCreator eventLogCreator,
     IHtmlBuilder htmlBuilder,
     IPdfService pdfService,
     IXlsxBuilder xlsxBuilder,
     IMapper mapper)
     : base(mapper)
 {
     _userManager        = userManager;
     _objectRepository   = objectRepository;
     _projectRepository  = projectRepository;
     _granitRepository   = granitRepository;
     _carBrandRepository = carBrandRepository;
     _busDataRepository  = busDataRepository;
     _eventLogCreator    = eventLogCreator;
     _htmlBuilder        = htmlBuilder;
     _pdfService         = pdfService;
     _xlsxBuilder        = xlsxBuilder;
 }
Beispiel #2
0
 public FormTag(string formAction, string method, IHtmlBuilder htmlBuilder)
     : base("form", htmlBuilder)
 {
     Action(formAction);
     Method(method);
     IsSelfClosing = false;
 }
Beispiel #3
0
        internal HttpResponseFilter(Stream stream, IHtmlBuilder htmlBuilder)
        {
            _stream = stream;
            _writer = new StreamWriter(_stream, Encoding.UTF8);

            _htmlBuilder = htmlBuilder;
        }
 public AssetOutputManager(IHtmlBuilder htmlBuilder, IEnumerable<IProcessor> processors, IAssetManagerSettings settings)
 {
     _htmlBuilder = htmlBuilder;
     _settings = settings;
     _processors = processors ?? new List<IProcessor>();
     _cache = AssetManager.Settings.CacheFactory.GetCache();
 }
Beispiel #5
0
        private string _unprocessedContent; // Content from previous write that could not be added.

        #endregion Fields

        #region Constructors

        internal HttpResponseFilter(Stream stream, IHtmlBuilder htmlBuilder)
        {
            _stream = stream;
            _writer = new StreamWriter(_stream, Encoding.UTF8);

            _htmlBuilder = htmlBuilder;
        }
 public AssetOutputManager(IHtmlBuilder htmlBuilder, IEnumerable <IProcessor> processors, IAssetManagerSettings settings)
 {
     _htmlBuilder = htmlBuilder;
     _settings    = settings;
     _processors  = processors ?? new List <IProcessor>();
     _cache       = AssetManager.Settings.CacheFactory.GetCache();
 }
 public FormBuilderTag(string name, IHtmlBuilder htmlBuilder)
     : base(name, htmlBuilder)
 {
 }
 public void BuildBy(IHtmlBuilder builder)
 {
     BuildBy(builder.Build);
 }
Beispiel #9
0
 public ImageTag(string src, IHtmlBuilder htmlBuilder)
     : base("img", htmlBuilder)
 {
     Attributes["src"] = src;
 }
Beispiel #10
0
 public HtmlFactory(IHtmlBuilder htmlBuilder)
 {
     _htmlBuilder = htmlBuilder;
 }
Beispiel #11
0
 public void BuildBy(IHtmlBuilder builder)
 {
     BuildBy(builder.Build);
 }
Beispiel #12
0
 public FieldsetTag(IHtmlBuilder htmlFormBuilder)
     : base("fieldset", htmlFormBuilder)
 {
 }
 public RadioButtonTag(string name, IHtmlBuilder htmlBuilder)
     : base("radio", htmlBuilder)
 {
     Attributes["name"] = name;
 }
Beispiel #14
0
 internal DocumentationPageRequestProcessor(IDocmahConfiguration docmahConfiguration, IHtmlBuilder htmlBuilder)
 {
     _docmahConfiguration = docmahConfiguration;
     _htmlBuilder         = htmlBuilder;
 }
Beispiel #15
0
 public GenericTag(string name, IHtmlBuilder htmlBuilder)
     : this(name)
 {
     HtmlBuilder = htmlBuilder;
 }
 public void SetUpBuilder()
 {
     tags = new List<ITag>();
     htmlBuilder = new HtmlBuilder(tags);
 }
 internal DocumentationPageRequestProcessor(IDocmahConfiguration docmahConfiguration, IHtmlBuilder htmlBuilder)
 {
     _docmahConfiguration = docmahConfiguration;
     _htmlBuilder = htmlBuilder;
 }