Пример #1
0
 public XsdtPrimitiveDataType GetDataType(Type t)
 {
     if (TypeLookup.ContainsValue(t))
     {
         return((from x in TypeLookup where x.Value == t select x.Key).FirstOrDefault());
     }
     else
     {
         return(XsdtPrimitiveDataType.XsdtUnknown);
     }
 }