IScriptEngine Interface

Summary

Represents a script engine.
Namespace
Cake.Core.Scripting
Implementing Types
graph BT Type["IScriptEngine"] class Type type-node Implementing0["RoslynScriptEngine"]-.->Type click Implementing0 "/api/Cake.Infrastructure.Scripting/RoslynScriptEngine"

Syntax

public interface IScriptEngine

Methods

Name Value Summary
CreateSession(IScriptHost) IScriptSession
Creates a new script session.

Extension Methods

Name Value Summary
Dump<IScriptEngine>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IScriptEngine>(IScriptEngine[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IScriptEngine>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IScriptEngine>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IScriptEngine>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IScriptEngine>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin