예제 #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);
 }