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); } }
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); } }