public ClassMetaData GetClassMetaData(Type type) { ClassMetaData result; metadataMaps.TryGetValue(type, out result); if (result == null) { try { result = new ClassMetaData(type); metadataMaps.Add(type, result); result.Create(); } catch (Exception e) { Logger.Log.WriteLog("Exception while register object: " + e); } } return result; }
public ClassMetaData GetClassMetaData(Type type) { ClassMetaData result; metadataMaps.TryGetValue(type, out result); if (result == null) { try { result = new ClassMetaData(type); metadataMaps.Add(type, result); result.Create(); } catch (Exception e) { Logger.Log.WriteLog("Exception while register object: " + e); } } return(result); }