Skip to content

Instantly share code, notes, and snippets.

@jvanhoesen
Last active Jun 2, 2021
Embed
What would you like to do?
Property declaration of AACache
private static CacheStaticInfo _staticInfo;
private static Type _pXCacheExtensionCollectionType;
protected static CacheStaticInfo StaticInfo
{
get
{
if (_staticInfo == null)
{
_staticInfo = _Initialize(false);
}
return _staticInfo;
}
}
protected static Type PXCacheExtensionCollectionType
{
get
{
if (_pXCacheExtensionCollectionType == null)
{
Assembly assembly = Assembly.Load("PX.Data");
_pXCacheExtensionCollectionType = assembly.GetType("PX.Data.PXCacheExtensionCollection");
}
return _pXCacheExtensionCollectionType;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment