IPropertyInterceptorInterceptGet Method |
Version 98.1.210
Called before the get property is invokved. You are now responsible for evaluating
the property and returning the result.
Namespace:
CefSharp.ModelBinding
Assembly:
CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax Object InterceptGet(
Func<Object> propertyGetter,
string propertName
)
Object^ InterceptGet(
Func<Object^>^ propertyGetter,
String^ propertName
)
Parameters
- propertyGetter
- Type: SystemFuncObject
A Func that represents the property to be called - propertName
- Type: SystemString
Name of the property to be called
Return Value
Type:
ObjectThe property result
Examples public object IPropertyInterceptor.InterceptGet(Func<object> propertyGetter, string propertyName)
{
object result = propertyGetter();
Debug.WriteLine("InterceptGet " + propertyName);
return result;
}
See Also