Click or drag to resize

IAsyncMethodInterceptorInterceptAsync Method

Version 98.1.210

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

Parameters

method
Type: SystemFuncObject, Object
A Func that represents the method to be called
parameters
Type: SystemObject
paramaters to be passed to method
methodName
Type: SystemString
Name of the method to be called

Return Value

Type: TaskObject
A Task representing the method result
Examples
Task<object> IAsyncMethodInterceptor.InterceptAsync(Func<object[], object> method, object[] parameters, string methodName) { object result = method(parameters); Debug.WriteLine("Called " + methodName); return result; }
See Also