IScriptHelper Interface
Namespace
Statiq.Common
Implementing Types
IScriptHelper
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