Arguments aliases

Built-In

Contains functionality related to arguments.

General

Argument<T>(string) Gets an argument and throws if the argument is missing.
Argument<T>(string, T) Gets an argument and returns the provided defaultValue if the argument is missing.
Arguments<T>(string) Gets all arguments with the specific name and throws if the argument is missing.
Arguments<T>(string, T) Gets all arguments with the specific name and returns the provided defaultValue if the argument is missing.
HasArgument(string) Determines whether or not the specified argument exist.

Cake.ArgumentBinder addin

Create

CreateFromArguments<T>(object[])
Alias from Cake.ArgumentBinder addin
Creates an instance of a class that can bind arguments to.

ToString

ArgumentConfigToString<T>(T)
Alias from Cake.ArgumentBinder addin
Takes in an object that has arguments binded to it, and creates a string-representation of the class.