A data unit that holds code.
Inheritance: DataUnit
Example #1
0
 private void xcf6c4f40a62f8405(string xf6987a1745781d6f)
 {
     if (xf6987a1745781d6f.Trim().Length > 0)
     {
         CodeDataUnit unit = new CodeDataUnit {
             Code = xf6987a1745781d6f
         };
         this._xbbe2f7d7c86e0379.AddDataUnit(unit);
     }
 }
Example #2
0
 /// <summary>
 /// Create a dataunit to hode the code HTML tag.
 /// </summary>
 /// <param name="str">The code to create the data unit with.</param>
 private void CreateCodeDataUnit(String str)
 {
     if (str.Trim().Length > 0)
     {
         var d = new CodeDataUnit {Code = str};
         _page.AddDataUnit(d);
     }
 }
Example #3
0
 /// <summary>
 /// Create a dataunit to hode the code HTML tag.
 /// </summary>
 /// <param name="str">The code to create the data unit with.</param>
 private void CreateCodeDataUnit(String str)
 {
     if (str.Trim().Length > 0)
     {
         CodeDataUnit d = new CodeDataUnit();
         d.Code = str;
         this.page.AddDataUnit(d);
     }
 }