|
const string | SERVICE_PUBLISHED_KEY = "service_published_{0}" |
|
◆ ClearCachedReflectionData()
void Beamable.Server.Editor.MicroserviceReflectionCache.Registry.ClearCachedReflectionData |
( |
| ) |
|
|
inline |
Called once on each IReflectionSystem before building the reflection cache. Exists mostly to deal with the fact that Unity's initialization hooks are weird and seem to trigger twice when entering playmode.
Implements Beamable.Common.Reflection.IReflectionSystem.
◆ OnAttributeOfInterestFound()
void Beamable.Server.Editor.MicroserviceReflectionCache.Registry.OnAttributeOfInterestFound |
( |
AttributeOfInterest |
attributeType, |
|
|
IReadOnlyList< MemberAttribute > |
cachedMemberAttributes |
|
) |
| |
|
inline |
Called once per declared IReflectionTypeProvider.AttributesOfInterest.
- Parameters
-
attributeType | The attribute type of interest. |
cachedMemberAttributes | The list of all MemberInfo and Attribute instances matching attributeType that were found in the assembly sweep. |
Implements Beamable.Common.Reflection.IReflectionSystem.
◆ OnBaseTypeOfInterestFound()
void Beamable.Server.Editor.MicroserviceReflectionCache.Registry.OnBaseTypeOfInterestFound |
( |
BaseTypeOfInterest |
baseType, |
|
|
IReadOnlyList< MemberInfo > |
cachedSubTypes |
|
) |
| |
|
inline |
Called once per declared IReflectionTypeProvider.BaseTypesOfInterest with each base type and the cached list of types for which Type.IsAssignableFrom returns true.
- Parameters
-
baseType | The base type of interest. |
cachedSubTypes | The list of types for which Type.IsAssignableFrom returns true. |
Implements Beamable.Common.Reflection.IReflectionSystem.
◆ OnReflectionCacheBuilt()
Called once per ReflectionCache.GenerateReflectionCache invocation after the assembly sweep ReflectionCache.RebuildReflectionCache is completed.
- Parameters
-
perBaseTypeCache | Current cached Per-Base Type information. |
perAttributeCache | Currently cached Per-Attribute information. |
Implements Beamable.Common.Reflection.IReflectionSystem.
◆ OnSetupForCacheGeneration()
void Beamable.Server.Editor.MicroserviceReflectionCache.Registry.OnSetupForCacheGeneration |
( |
| ) |
|
|
inline |
◆ SetStorage()
void Beamable.Server.Editor.MicroserviceReflectionCache.Registry.SetStorage |
( |
IBeamHintGlobalStorage |
hintGlobalStorage | ) |
|
Injection point for reflections systems that wish to generate hints. Leave without implementation if no hints are generated. Remember to wrap hint code in "#if UNITY_EDITOR" directives as this storage instance is null during non-editor builds.
Implements Beamable.Common.Reflection.IReflectionSystem.
The documentation for this class was generated from the following file:
- com.beamable.server/Editor/ReflectionCache/UserSystems/MicroserviceReflectionCache.cs