SimulatorTool<TSettings> Class

Summary

Base class for all AppleSimulator related tools.
graph BT Type-->Base0["Tool<TSettings>"] Type["SimulatorTool<TSettings>"] class Type type-node

Syntax

public abstract class SimulatorTool<TSettings> : Tool<TSettings> where TSettings : SimulatorSettings

Type Parameters

Name Description
TSettings The Settings type.

Constructors

Name Summary
SimulatorTool(IFileSystem, ICakeEnvironment, IProcessRunner, IToolLocator, TSettings) Initializes a new instance of the SimCtlTool<TSettings> class.

Properties

Name Value Summary
Settings TSettings

Methods

Name Value Summary
CreateArgumentBuilder(TSettings) ProcessArgumentBuilder
Creates a ProcessArgumentBuilder and adds common commandline arguments.
GetAlternativeToolPaths(TSettings) IEnumerable<FilePath>
Gets alternative file paths which the tool may exist in
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetToolName() string
Gets the name of the tool.

Extension Methods

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