Click or drag to resize

IPropertyInterceptorInterceptGet Method

Version 130.1.90
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: 129.0.110.0 (129.0.110.0)
Syntax
Object InterceptGet(
	Func<Object> propertyGetter,
	string propertName
)

Parameters

propertyGetter  FuncObject
A Func that represents the property to be called
propertName  String
Name of the property to be called

Return Value

Object
The property result
Example
C#
public object IPropertyInterceptor.InterceptGet(Func<object> propertyGetter, string propertyName)
{
   object result = propertyGetter();
   Debug.WriteLine("InterceptGet " + propertyName);
   return result;
}
See Also