Beamable SDK
|
Struct that holds data for all Attribute-related reflection data caches. More...
Public Member Functions | |
PerAttributeCache (List< AttributeOfInterest > attributeTypes, List< AttributeOfInterest > memberAttributeTypes, Dictionary< AttributeOfInterest, List< MemberAttribute > > attributeMappings) | |
Constructs a new PerAttributeCache. If planning to build with ReflectionCache.BuildTypeCaches, call this with large pre-allocated lists since allocation is expensive and list's "expansion when full" re-allocates. | |
Public Attributes | |
readonly List< AttributeOfInterest > | AttributeTypes |
List of attribute types that can only be placed in non-type-members (any AttributeTargets not in AttributeOfInterest.INTERNAL_TYPE_SEARCH_WHEN_ATTRIBUTE_TARGETS). | |
readonly List< AttributeOfInterest > | MemberAttributeTypes |
List of attribute types that can only be placed in type-members (any AttributeTargets in AttributeOfInterest.INTERNAL_TYPE_SEARCH_WHEN_ATTRIBUTE_TARGETS). | |
readonly Dictionary< AttributeOfInterest, List< MemberAttribute > > | AttributeMappings |
Cached list of AttributeOfInterest and all MemberAttributes that were found in the assembly sweep. | |
Properties | |
int | TotalAttributesOfInterestCount [get] |
Total number of AttributeOfInterest that are registered. | |
Struct that holds data for all Attribute-related reflection data caches.