Click or drag to resize

V8FastHostObjectConfiguration<TObject>.AddMethodGetter(String, Int32, V8FastHostObjectConfigurator<V8FastHostMethod<TObject>>, V8FastHostMethodInvoker<TObject>) Method

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

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

Parameters

name  String
The method name.
requiredArgCount  Int32
The required argument count for the method.
configurator  V8FastHostObjectConfigurator<V8FastHostMethod<TObject>>
A callback for preparing the method's configuration.
invoker  V8FastHostMethodInvoker<TObject>
The method invocation callback.
Remarks
Properties configured by this method are not enumerable and cannot be assigned or deleted.
See Also