IScriptHelper Interface
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(string, IMetadata) Task<object>
Compiles, caches, and evaluates a script.
GetScriptNamespaces() IEnumerable<string>
GetScriptReferences() IEnumerable<Assembly>
TryGetScriptString(string, string) bool
Checks if the string is a "script" string (it starts with =>) and trims the string if it is.
static

Extension Methods