DartTool Class

Summary

Dart tool.
Assembly
Cake.Dart.dll
Namespace
Cake.Dart
Base Types
graph BT Type-->Base0["Tool<DartSettings>"] Type["DartTool"] class Type type-node

Syntax

public class DartTool : Tool<DartSettings>

Constructors

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

Methods

Name Value Summary
GetAlternativeToolPaths(DartSettings) IEnumerable<FilePath>
Finds the proper Dart executable path.
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetToolName() string
Gets the name of the tool.
Run(Dictionary<string, object>, FilePath, DartSettings) void
Runs given dartScriptFile file using vmOptions and settings.

Extension Methods

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