public JsonReflectionApi() { CreatorCache = XThreadSafe.ThreadSafeStore <Type, Func <object[], object> >(GetCreator); #if !(NET20 || DOTNET) AssociatedMetadataTypesCache = XThreadSafe.ThreadSafeStore <Type, Type> (GetAssociateMetadataTypeFromAttribute); #endif }
public EnumApi() { EnumMemberNamesPerType = XThreadSafe.ThreadSafeStore <Type, BidirectionalDictionary <string, string> >(InitializeEnumType); }