Esempio n. 1
0
 public override string ToString()
 {
     if (FormatType.IsArray())
     {
         return("array(" + Count + ")");
     }
     else if (FormatType.IsMap())
     {
         return("map(" + Count + ")");
     }
     else if (FormatType.IsExt())
     {
         return("ext");
     }
     else if (FormatType.IsBinary())
     {
         return("binary");
     }
     else
     {
         return(GetValue().ToString());
     }
 }