V8FastHostObjectConfiguration<TObject>.AddMethodGetter(String, V8FastHostMethodInvoker<TObject>) Method |
Adds a getter for a method.
Namespace: Microsoft.ClearScript.V8.FastProxyAssembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntaxpublic void AddMethodGetter(
string name,
V8FastHostMethodInvoker<TObject> invoker
)
Public Sub AddMethodGetter (
name As String,
invoker As V8FastHostMethodInvoker(Of TObject)
)
public:
void AddMethodGetter(
String^ name,
V8FastHostMethodInvoker<TObject>^ invoker
)
member AddMethodGetter :
name : string *
invoker : V8FastHostMethodInvoker<'TObject> -> unit
Parameters
- name String
- The method name.
- invoker V8FastHostMethodInvoker<TObject>
- The method invocation callback.
Remarks
Properties configured by this method are not enumerable and cannot be assigned or
deleted.
See Also