Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Beamable.Common.Reflection.PerAttributeCache Struct Reference

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< AttributeOfInterestAttributeTypes
 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< AttributeOfInterestMemberAttributeTypes
 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.
 

Detailed Description

Struct that holds data for all Attribute-related reflection data caches.


The documentation for this struct was generated from the following file: