Click or drag to resize

V8FastHostObjectConfigurationTObjectAddMethodGetter(String, Int32, V8FastHostMethodInvokerTObject) Method

Adds a getter for a method with the specified required argument count.

Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
public void AddMethodGetter(
	string name,
	int requiredArgCount,
	V8FastHostMethodInvoker<TObject> invoker
)

Parameters

name  String
The method name.
requiredArgCount  Int32
The required argument count for the method.
invoker  V8FastHostMethodInvokerTObject
The method invocation callback.
Remarks
Properties configured by this method are not enumerable and cannot be assigned or deleted.
See Also