IScriptRunner Interface

Summary

Represents a script runner responsible for running scripts.
Namespace
Cake.Core.Scripting
Implementing Types
graph BT Type["IScriptRunner"] class Type type-node Implementing0["ScriptRunner"]-.->Type click Implementing0 "/api/Cake.Core.Scripting/ScriptRunner"

Syntax

public interface IScriptRunner

Methods

Name Value Summary
Run(IScriptHost, FilePath) void
Runs the script using the specified script host.

Extension Methods

Name Value Summary
Dump<IScriptRunner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IScriptRunner>(IScriptRunner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IScriptRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IScriptRunner>(string) void
Requires the Cake.Issues addin
ThrowIfNull<IScriptRunner>(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<IScriptRunner>(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
ToStringWithNullMarkup() string
Requires the Cake.Issues addin