private SetFunctionTemplateProperty ( |
||
proxy | ||
name | string | |
value | ||
attributes | V8PropertyAttributes | |
return | void |
// -------------------------------------------------------------------------------------------------------------------- /// <summary> /// Calls the V8 'Set()' function on the underlying native function template to set properties that will exist on all function objects created from this template. /// </summary> public void SetProperty(string name, InternalHandle value, V8PropertyAttributes attributes = V8PropertyAttributes.Undefined) { if (name.IsNullOrWhiteSpace()) { throw new ArgumentNullException("name (cannot be null, empty, or only whitespace)"); } V8NetProxy.SetFunctionTemplateProperty(_NativeFunctionTemplateProxy, name, value, attributes); }