/// <summary> /// Makes sure that client metadata is already loaded /// </summary> public static void LoadClientTypeMetadataTable() { bool hasValues = TypeCacheUtils.DefaultAndAliasMappings.Count > 0; if (!hasValues) { Debug.WriteLine("Loading Client Type Metadata tables"); foreach (var item in TypeCacheUtils.ClientSideMappingInfo) { try { TypeCacheUtils.FillDefaultAndAliasInfoForType(item.Key, item.Value); } catch (Exception) { /*Ignore exception */ } } Debug.WriteLine("Finished Loading Client Type Metadata tables"); } }