JS


Content:

public class JavaScriptEngine : IScriptEngine<object, JavaScriptModuleInterface>

Language: C#

JavaScript скриптовый движок на основе ClearScript и V8.
Предоставляет полную поддержку JavaScript с интеграцией C# классов и модулей.

public class JavaScriptModuleInterface : IModuleInterface

Language: C#

JavaScript module interface for registering functions, values, classes, and enums to be used in JavaScript scripts.

Parameters:

  • toHostTypeConverter: Function to convert a Type to a host object.

[public class PropertyBagTree : Tree<string, object?>(

pathSplitter, 
pathCombiner,
parent,
tree =&gt; tree.Value == null,
tree =&gt; tree.NodeType == TreeNodeType.Leaf

), IPropertyBag](./propertybagtree/)

Language: C#

A tree-based implementation of a property bag for JavaScript scripting.

Parameters:

  • pathSplitter: Function to split a path string into its constituent parts.
  • pathCombiner: Function to combine a collection of keys into a single path string.
  • parent: Optional parent tree to inherit from.