Click or drag to resize

IMethodInterceptorIntercept Method

Version 130.1.90
Called before the method is invokved. You are now responsible for evaluating the function and returning the result.

Namespace: CefSharp.ModelBinding
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
Object Intercept(
	Func<Object[], Object> method,
	Object[] parameters,
	string methodName
)

Parameters

method  FuncObject, Object
A Func that represents the method to be called
parameters  Object
paramaters to be passed to method
methodName  String
Name of the method to be called

Return Value

Object
The method result
Example
object IMethodInterceptor.Intercept(Func<object[], object> method, object[] parameters, string methodName) { object result = method(parameters); Debug.WriteLine("Called " + methodName); return result; }
See Also