ArgumentExtensions Class

Summary

Extensions to allow for generic arguments or environments
Assembly
Cake.igloo15.Helper.dll
Namespace
Cake.igloo15.Helper
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ArgumentExtensions"] class Type type-node

Syntax

public static class ArgumentExtensions

Methods

Name Value Summary
ArgumentOrEnvironmentVariable<T>(ICakeContext, string, T, bool, string) T
Get an Argument, EnvironmentVariable, or Default Value resolved in that order It will also add the argument to GlobalArguments
static
GlobalArguments(ICakeContext) Dictionary<string, ArgumentValue>
Global Arguments properties this property contains all the arguments defined using ArgumentOrEnvironmentVariable
static
PrintArguments(ICakeContext) void
Print all arguments except private ones
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin