Ejemplo n.º 1
0
        public void BString(string ingresado, string esperado)
        {
            var nombre     = @"\b";
            var ingresado2 = nombre + ingresado;
            var esperado2  = nombre + esperado;
            var tag        = new TagB(ingresado2);

            Assert.AreEqual(esperado2, tag.ToString());
        }
Ejemplo n.º 2
0
 public static TagB onmouseover(this TagB tag, string value)
 {
     tag.OnMouseOver = value; return(tag);
 }
Ejemplo n.º 3
0
 public static TagB onmouseup(this TagB tag, string value)
 {
     tag.OnMouseUp = value; return(tag);
 }
Ejemplo n.º 4
0
 public static TagB onmousedown(this TagB tag, string value)
 {
     tag.OnMouseDown = value; return(tag);
 }
Ejemplo n.º 5
0
 public static TagB ondblclick(this TagB tag, string value)
 {
     tag.OnDblClick = value; return(tag);
 }
Ejemplo n.º 6
0
 public static TagB dir(this TagB tag, Dir value)
 {
     tag.Dir = value; return(tag);
 }
Ejemplo n.º 7
0
 public static TagB xmllang(this TagB tag, string value)
 {
     tag.XmlLang = value; return(tag);
 }
Ejemplo n.º 8
0
 public static TagB onkeypress(this TagB tag, string value)
 {
     tag.OnKeyPress = value; return(tag);
 }
Ejemplo n.º 9
0
 public static TagB title(this TagB tag, string value)
 {
     tag.Title = value; return(tag);
 }
Ejemplo n.º 10
0
 public static TagB style(this TagB tag, string value)
 {
     tag.Style = value; return(tag);
 }
Ejemplo n.º 11
0
 public static TagB @class(this TagB tag, string value)
 {
     tag.Class = value; return(tag);
 }
Ejemplo n.º 12
0
 public static TagB id(this TagB tag, string value)
 {
     tag.Id = value; return(tag);
 }
Ejemplo n.º 13
0
 public static TagB onkeyup(this TagB tag, string value)
 {
     tag.OnKeyUp = value; return(tag);
 }
Ejemplo n.º 14
0
 public static TagB onkeydown(this TagB tag, string value)
 {
     tag.OnKeyDown = value; return(tag);
 }
Ejemplo n.º 15
0
 public static TagB onmousemove(this TagB tag, string value)
 {
     tag.OnMouseMove = value; return(tag);
 }
Ejemplo n.º 16
0
 public static TagB onmouseout(this TagB tag, string value)
 {
     tag.OnMouseOut = value; return(tag);
 }
Ejemplo n.º 17
0
 public static TagB lang(this TagB tag, LangCode value)
 {
     tag.Lang = value; return(tag);
 }