Exemplo n.º 1
0
        public ImageInputType(IHtmlInputElement input, String name)
            : base(input, name, validate: true)
        {
            var inp = input as HtmlInputElement;
            var src = input.Source;


            if (src != null && inp != null)
            {
                var url = inp.HyperReference(src);
                _request = ImageRequestProcessor.Create(inp);
                inp.Process(_request, url);
            }
        }
Exemplo n.º 2
0
        public ImageInputType(IHtmlInputElement input, String name)
            : base(input, name, validate: true)
        {
            var inp = input as HtmlInputElement;
            var src = input.Source;


            if (src != null && inp != null)
            {
                var url = inp.HyperReference(src);
                _request = ImageRequestProcessor.Create(inp);
                inp.Process(_request, url);
            }
        }
Exemplo n.º 3
0
 public HtmlImageElement(Document owner, String prefix = null)
     : base(owner, TagNames.Img, prefix, NodeFlags.Special | NodeFlags.SelfClosing)
 {
     _request = ImageRequestProcessor.Create(this);
 }
Exemplo n.º 4
0
 public HtmlImageElement(Document owner, String prefix = null)
     : base(owner, TagNames.Img, prefix, NodeFlags.Special | NodeFlags.SelfClosing)
 {
     _request = ImageRequestProcessor.Create(this);
 }
Exemplo n.º 5
0
 public HtmlImageElement(Document owner, String?prefix = null)
     : base(owner, TagNames.Img, prefix, NodeFlags.Special | NodeFlags.SelfClosing)
 {
     _request = new ImageRequestProcessor(owner.Context);
 }