XCRunTool<TSettings> Class

Assembly
Cake.AppleSimulator.dll
Namespace
Cake.AppleSimulator.XCRun
Base Types
graph BT Type-->Base0["Tool<TSettings>"] Type["XCRunTool<TSettings>"] class Type type-node

Syntax

public abstract class XCRunTool<TSettings> : Tool<TSettings> where TSettings : XCRunSettings

Type Parameters

Name Description
TSettings

Constructors

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.
RunAndRedirectStandardOutput(TSettings, ProcessArgumentBuilder) string
Runs the specified process, using the specified Settings/arguments and returns the process StandardOutput.

Extension Methods

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