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