ArgumentBinder Class

Assembly
Cake.ArgumentBinder.dll
Namespace
Cake.ArgumentBinder
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ArgumentBinder"] class Type type-node

Syntax

public static class ArgumentBinder

Methods

Name Value Summary
ConfigToStringHelper<T>(T) string
Helper function that creates a string representation of configured values on a class that we can bind arguments to.
static
FromArguments<T>(ICakeContext, object[]) T
Creates an instance of a class that can bind arguments to.
static
GetDescription<T>(string) string
Creates a Cake Description string that can be put into a Task's Description function during a printout of "cake --showdescription".
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin