The AOT compilation manager.
More...
|
| static bool | TryToPerformAotCompilation (Type type, out string aotCompiledClassInCSharp) |
| | This is a helper method that makes it simple to run an AOT compilation on the given type.
|
| |
| static void | AddAotCompilation (Type type, fsMetaProperty[] members, bool isConstructorPublic) |
| | Adds a new AOT compilation unit.
|
| |
|
| static Dictionary< Type, string > | AvailableAotCompilations [get] |
| | Ahead of time compilations that are available. The type maps to the object type the generated converter will serialize/deserialize, and the string is the text content for a converter that will do the serialization.
|
| |
The AOT compilation manager.
◆ AddAotCompilation()
| static void FullSerializer.fsAotCompilationManager.AddAotCompilation |
( |
Type | type, |
|
|
fsMetaProperty[] | members, |
|
|
bool | isConstructorPublic ) |
|
inlinestatic |
Adds a new AOT compilation unit.
- Parameters
-
| type | The type of object we are AOT compiling. |
| members | The members on the object which will be serialized/deserialized. |
◆ TryToPerformAotCompilation()
| static bool FullSerializer.fsAotCompilationManager.TryToPerformAotCompilation |
( |
Type | type, |
|
|
out string | aotCompiledClassInCSharp ) |
|
inlinestatic |
This is a helper method that makes it simple to run an AOT compilation on the given type.
- Parameters
-
| type | The type to perform the AOT compilation on. |
| aotCompiledClassInCSharp | The AOT class. Add this C# code to your project. |
- Returns
- True if AOT compilation was successful.
◆ AvailableAotCompilations
| Dictionary<Type, string> FullSerializer.fsAotCompilationManager.AvailableAotCompilations |
|
staticget |
Ahead of time compilations that are available. The type maps to the object type the generated converter will serialize/deserialize, and the string is the text content for a converter that will do the serialization.
The generated serializer is completely independent and you don't need to do anything. Simply add the file to your project and it'll get used instead of the reflection based one.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/JSON Serializer/Source/fsAotCompilationManager.cs