Member wrapper cache
A member wrapper creation is the result of reflecting the property/field of a class
Since this should be done no more than once during the application lifetime, we use the cache
This cache has additional methods forgetting/setting values having 2 parameters: type and property
A member wrapper creation is the result of reflecting the property/field of a class
Since this should be done no more than once during the application lifetime, we use the cache
This cache has additional methods forgetting/setting values having 2 parameters: type and property

C# | Visual Basic | Visual C++ |
public class MemberCache : Cache<Type, Cache<string, MemberWrapper>>
Public Class MemberCache _ Inherits Cache(Of Type, Cache(Of String, MemberWrapper))
public ref class MemberCache : public Cache<Type^, Cache<String^, MemberWrapper^>^>

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | MemberCache()()()() | Initializes a new instance of the MemberCache class |
![]() | Clear()()()() |
Clears the cache
(Inherited from Cache<(Of <(<'TKey, TValue>)>)>.) |
![]() | Count |
Returns the number of cached items
(Inherited from Cache<(Of <(<'TKey, TValue>)>)>.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Get(Type, String) |
Gets the member wrapper based on type and property
|
![]() | Get(TKey) |
Gets the cached value
(Inherited from Cache<(Of <(<'TKey, TValue>)>)>.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Put(Type, String, MemberWrapper) |
Puts the member wrapper based on type and property
|
![]() | Put(TKey, TValue) |
Caches the value
(Inherited from Cache<(Of <(<'TKey, TValue>)>)>.) |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |

Object | |||
![]() | Cache<(Of <(<'Type, Cache<(Of <(<'String, MemberWrapper>)>)>>)>)> | ||
![]() | MemberCache | ||
![]() | GlobalMemberCache |