ArgumentsBuilderExtension Class

Summary

Arguments builder
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
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, string, TSettings, string[]) void
Appends all arguments from settings and arguments.
static
AppendArguments<TSettings>(ProcessArgumentBuilder, TSettings, bool) void
Appends pre or post command arguments.
static
ConvertTimeSpan(TimeSpan) string
static
GetArgumentFromAutoProperty(AutoPropertyAttribute, PropertyInfo, object) string
Uses format specified in attribute to format the argument.
static
GetArgumentFromBoolProperty(PropertyInfo, bool) string
static
GetArgumentFromDictionaryProperty(PropertyInfo, Dictionary<string, string>, bool) IEnumerable<Nullable<DockerArgument>>
static
GetArgumentFromNullableBoolProperty(PropertyInfo, Nullable<bool>) string
static
GetArgumentFromNullableInt64Property(PropertyInfo, Nullable<long>) string
static
GetArgumentFromNullableIntProperty(PropertyInfo, Nullable<int>) string
static
GetArgumentFromNullableTimeSpanProperty(PropertyInfo, Nullable<TimeSpan>) string
static
GetArgumentFromNullableUInt16Property(PropertyInfo, Nullable<ushort>) string
static
GetArgumentFromNullableUInt64Property(PropertyInfo, Nullable<ulong>) string
static
GetArgumentFromProperty<TSettings>(PropertyInfo, TSettings, bool, bool) IEnumerable<Nullable<DockerArgument>>
Gets and processes property value from settings.
static
GetArgumentFromStringArrayListProperty(PropertyInfo, string[], bool) Nullable<DockerArgument>
static
GetArgumentFromStringArrayProperty(PropertyInfo, string[], bool) IEnumerable<Nullable<DockerArgument>>
static
GetArgumentFromStringProperty(PropertyInfo, string, bool) Nullable<DockerArgument>
static
GetAutoPropertyAttributeOrNull(PropertyInfo) AutoPropertyAttribute
Retrieve AutoPropertyAttribute from property or null if there isn't one.
static
GetPropertyName(string) string
Converts property name to docker arguments format
static
IsPropertyValueSecret<TSettings>(PropertyInfo, TSettings) bool
Checks out whether given property is a secret.
static

Extension Methods

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