ArgumentsBuilderExtension Class

Summary

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

Syntax

public static class ArgumentsBuilderExtension

Attributes

Type Description
NullableContextAttribute
NullableAttribute

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
Convert timespan to string.
static
GetArgumentFromAutoProperty(AutoPropertyAttribute, PropertyInfo, object) string
Uses format specified in attribute to format the argument.
static
GetArgumentFromBoolProperty(PropertyInfo, bool) string
Get an argument from a bool property.
static
GetArgumentFromDictionaryProperty(PropertyInfo, Dictionary<string, string>) IEnumerable<Nullable<BuildahArgument>>
Get argument from dictionary.
static
GetArgumentFromNullableBoolProperty(PropertyInfo, Nullable<bool>) string
Get an argument from a nullable bool.
static
GetArgumentFromNullableInt64Property(PropertyInfo, Nullable<long>) string
Get Argument From NullableInt64Property.
static
GetArgumentFromNullableIntProperty(PropertyInfo, Nullable<int>) string
Get Argument From NullableIntProperty.
static
GetArgumentFromNullableTimeSpanProperty(PropertyInfo, Nullable<TimeSpan>) string
Get argument from nullable timespan.
static
GetArgumentFromNullableUInt16Property(PropertyInfo, Nullable<ushort>) string
Get an argument from an unsigned short.
static
GetArgumentFromNullableUInt64Property(PropertyInfo, Nullable<ulong>) string
Get an argument from an unsigned long.
static
GetArgumentFromProperty<TSettings>(PropertyInfo, TSettings, bool) IEnumerable<Nullable<BuildahArgument>>
Gets and processes property value from settings.
static
GetArgumentFromStringArrayListProperty(PropertyInfo, string[]) Nullable<BuildahArgument>
Get argument from String Array List.
static
GetArgumentFromStringArrayProperty(PropertyInfo, string[]) IEnumerable<Nullable<BuildahArgument>>
Get argument from string array.
static
GetArgumentFromStringProperty(PropertyInfo, string) Nullable<BuildahArgument>
Get argument from string.
static
GetAutoPropertyAttributeOrNull(PropertyInfo) AutoPropertyAttribute
Retrieve AutoPropertyAttribute from property or null if there isn't one.
static
GetPropertyName(string) string
Converts property name to Buildah arguments format.
static

Extension Methods

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