DotNetRunner Class

Summary

.NET project runner.
graph BT Type-->Base0["DotNetTool<DotNetRunSettings>"] Base0-->Base1["Tool<DotNetRunSettings>"] Base1-->Base2["object"] Type["DotNetRunner"] class Type type-node

Syntax

public sealed class DotNetRunner : DotNetTool<DotNetRunSettings>

Constructors

Name Summary
DotNetRunner(IFileSystem, ICakeEnvironment, IProcessRunner, IToolLocator) Initializes a new instance of the DotNetRunner class.

Methods

Name Value Summary
Run(string, ProcessArgumentBuilder, DotNetRunSettings) void
Runs the project using the specified path with arguments and settings.
RunCode(ProcessStandardInput, ProcessArgumentBuilder, DotNetRunSettings) void
Runs C# source from standard input using the specified arguments and settings.

Extension Methods

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