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