IJavaScriptEngine.

ExecuteResource(string, Type) Method

Summary

Executes code from embedded JavaScript resource.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.JavaScript
Containing Type
IJavaScriptEngine

Syntax

void ExecuteResource(string resourceName, Type type)

Parameters

Name Type Description
resourceName string The case-sensitive resource name without the namespace of the specified type.
type Type The type, that determines the assembly and whose namespace is used to scope the resource name.

Return Value

Type Description
void
GitHub