示例#1
0
 internal Element(XmlElement element)
     : base(element)
 {
     elements        = null;
     attributesFiler = null;
     filer           = null;
 }
示例#2
0
 public void WriteLong(string name, long value)
 {
     if (String.IsNullOrEmpty(name))
     {
         return;
     }
     if (name[0] == '@')
     {
         AttributesFiler.WriteLong(name.Substring(1), value);
     }
     else
     {
         Filer.WriteLong(name, value);
     }
 }
示例#3
0
 public long ReadLong(string name)
 {
     if (String.IsNullOrEmpty(name))
     {
         return(0);
     }
     if (name[0] == '@')
     {
         return(AttributesFiler.ReadLong(name.Substring(1)));
     }
     else
     {
         return(Filer.ReadLong(name));
     }
 }
示例#4
0
 public bool ReadBool(string name)
 {
     if (String.IsNullOrEmpty(name))
     {
         return(false);
     }
     if (name[0] == '@')
     {
         return(AttributesFiler.ReadBool(name.Substring(1)));
     }
     else
     {
         return(Filer.ReadBool(name));
     }
 }