RegisterTypes() public static method

Registers an entire array of simplTypes
public static RegisterTypes ( SimplType simplTypes ) : bool
simplTypes SimplType Simpl Types to register
return bool
        static FundamentalTypes()
        {
            TypeRegistry.RegisterTypes(ScalarTypes.ToArray());
            TypeRegistry.RegisterTypes(collectionTypes.ToArray());

            TypeRegistry.SetDefaultCollectionType(listType);
            TypeRegistry.SetDefaultMapType(mapType);
        }
Example #2
0
 static PlatformSpecificTypesDotNet()
 {
     TypeRegistry.RegisterTypes(ScalarTypes.ToArray());
 }
Example #3
0
 static PlatformSpecificTypesWindowsStoreApps()
 {
     TypeRegistry.RegisterTypes(ScalarTypes.ToArray());
 }