示例#1
0
 private Type GetSimpleValueType()
 {
     if (SimpleValue == null)
     {
         return(typeof(object));
     }
     if (Type.IsEnum)
     {
         return(typeof(string));
     }
     return(SimpleValue.GetType());
 }
示例#2
0
 private Type GetSimpleValueType()
 {
     return(SimpleValue == null ? typeof(object) : SimpleValue.GetType());
 }