I`m trying to get hold of the real instances beneath the proxy instances when handling blocks and pages.
I`ve tried UtilProxy.GetUnproxiedInstance(proxyBlock) but that did not work.
UtilProxy.GetUnproxiedInstance(proxyBlock)
How can I access the real instance?
Maybe
proxyBlock.GetOriginalType()
will give you what you need?
What are you trying to achieve?
I`m trying to get hold of the real instances beneath the proxy instances when handling blocks and pages.
I`ve tried
UtilProxy.GetUnproxiedInstance(proxyBlock)
but that did not work.How can I access the real instance?