예제 #1
0
 public void Set(string name, string value)
 {
     if (name != null)
     {
         if (value == null)
         {
             value = "";
         }
         Shove.HTML.HtmlParse.Attribute a = this[name];
         if (a == null)
         {
             a = new Shove.HTML.HtmlParse.Attribute(name, value);
             this.Add(a);
         }
         else
         {
             a.Value = value;
         }
     }
 }
예제 #2
0
 public void AddAttribute()
 {
     Shove.HTML.HtmlParse.Attribute a = new Shove.HTML.HtmlParse.Attribute(this._parseName, this._parseValue, this._parseDelim);
     base.Add(a);
 }
예제 #3
0
 public void Set(string name, string value)
 {
     if (name != null)
     {
         if (value == null)
         {
             value = "";
         }
         Shove.HTML.HtmlParse.Attribute a = this[name];
         if (a == null)
         {
             a = new Shove.HTML.HtmlParse.Attribute(name, value);
             this.Add(a);
         }
         else
         {
             a.Value = value;
         }
     }
 }
예제 #4
0
 public void Add(Shove.HTML.HtmlParse.Attribute a)
 {
     this.m_list.Add(a);
 }
예제 #5
0
 public void AddAttribute()
 {
     Shove.HTML.HtmlParse.Attribute a = new Shove.HTML.HtmlParse.Attribute(this._parseName, this._parseValue, this._parseDelim);
     base.Add(a);
 }