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