- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IScriptHelper"]
class Type type-node
Implementing0["ScriptHelper"]-.->Type
click Implementing0 "/api/Statiq.Core/ScriptHelper"
Syntax
public interface IScriptHelper
Fields
| Name | Field Type | Constant Value | Summary |
|---|---|---|---|
| ScriptStringPrefix | string | => |
static
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| EvaluateAsync |
Task |
Compiles, caches, and evaluates a script.
|
| GetScriptNamespaces |
IEnumerable |
|
| GetScriptReferences |
IEnumerable |
|
| TryGetScriptString |
bool |
Checks if the string is a "script" string (it starts with
=>)
and trims the string if it is.
static
|