ArgumentsBuilderExtension Class

Summary

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

Syntax

public static class ArgumentsBuilderExtension

Methods

Name Value Summary
AppendAll<TSettings>(ProcessArgumentBuilder, IList<string>, TSettings, IList<string>) void
Appends all arguments from settings and arguments.
static
GetArgumentFromBoolProperty(PropertyInfo, bool) string
static
GetArgumentFromEnumProperty(PropertyInfo, object) string
Get arguments for a (nullable) enum.
static
GetArgumentFromNullableBoolProperty(PropertyInfo, Nullable<bool>) string
static
GetArgumentFromNullableIntProperty(PropertyInfo, Nullable<int>) string
static
GetArgumentFromProperty<TSettings>(PropertyInfo, TSettings) IEnumerable<string>
Gets and processes property value from settings.
static
GetArgumentFromStringArrayProperty(PropertyInfo, string[]) IEnumerable<string>
static
GetArgumentFromStringProperty(PropertyInfo, string) string
static
GetEnumName(Type, object) string
Retrieves enum name from ParameterAttribute.
static
GetPropertyName(PropertyInfo) string
Retrieves property name from ParameterAttribute.
static
IsNullableType(Type) bool
Checks whether a type is nullable.
static

Extension Methods

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