AssemblyArgumentsBuilderExtension Class

Summary

Arguments builder for per-assembly settings.
Assembly
Cake.SmartAssembly.dll
Namespace
Cake.SmartAssembly
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AssemblyArgumentsBuilderExtension"] class Type type-node

Syntax

public static class AssemblyArgumentsBuilderExtension

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Methods

Name Value Summary
AppendArguments(AssemblyOptionSettings, bool) string[]
Appends pre or post command arguments.
static
CollectAll(AssemblyOptionSettings) string[]
Appends all arguments from settings.
static
ConvertTimeSpan(TimeSpan) string
static
GetArgumentFromAutoProperty(AutoPropertyAttribute, PropertyInfo, object) string
Uses format specified in attribute to format the argument.
static
GetArgumentFromBoolProperty(PropertyInfo, Nullable<bool>) string
static
GetArgumentFromDictionaryProperty(PropertyInfo, Dictionary<string, string>) IEnumerable<string>
static
GetArgumentFromNullableBoolProperty(PropertyInfo, Nullable<bool>, ParameterAttribute) 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(PropertyInfo, AssemblyOptionSettings, bool) IEnumerable<string>
Gets and processes property value from settings.
static
GetArgumentFromStringArrayProperty(PropertyInfo, string[]) IEnumerable<string>
static
GetArgumentFromStringProperty(PropertyInfo, string, ParameterAttribute) string
static
GetAutoPropertyAttributeOrNull(PropertyInfo) AutoPropertyAttribute
Retrieve AutoPropertyAttribute from property or null if there isn't one.
static
GetParameterAttributeOrNull(PropertyInfo) ParameterAttribute
Retrieve ParameterAttribute from property or null if there isn't one.
static
GetPropertyName(string) string
Converts property name to arguments format
static

Extension Methods

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