GemArgumentBuilder<T> Class

Summary

The top level argument builder for the Gem CLI Tool
Assembly
Cake.Gem.dll
Namespace
Cake.Gem
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GemArgumentBuilder<T>"] class Type type-node

Syntax

public abstract class GemArgumentBuilder<T> where T : GemSettings

Type Parameters

Name Description
T The Settings type to build arguments from

Constructors

Name Summary
GemArgumentBuilder(ICakeEnvironment, T) Initializes a new instance of the GemArgumentBuilder<T> class.

Properties

Name Value Summary
Environment ICakeEnvironment
Gets the Cake Environment

Methods

Name Value Summary
AddArguments(ProcessArgumentBuilder, T) void
Adds the arguments to the specified argument builder.
GetArguments() ProcessArgumentBuilder
Gets the arguments.

Extension Methods

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