Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
HI! I am trying to somehow get MyBlock class instance from PropertyData.
I have tried:
propertyData.Value as MyBlock;
ProxyUtil.GetUnproxiedInstance( propertyData.Value);
((IProxyTargetAccessor) propertyData.Value).DynProxyGetTarget();
((MyBlock)propertyData.Value).CreateWritableClone ( );
They all return MyBlockProxy!
ProxyUtil.GetUnproxiedType ( propertyData.Value );
gives the correct type (MyBlock)Is there a way to do this?