ArgumentsBuilderExtension.

GetArgumentFromProperty<TSettings>(PropertyInfo, TSettings, bool) Method

Summary

Gets and processes property value from settings.
Assembly
Cake.Buildah.dll
Namespace
Cake.Buildah
Containing Type
ArgumentsBuilderExtension

Syntax

public static IEnumerable<Nullable<BuildahArgument>> GetArgumentFromProperty<TSettings>(PropertyInfo property, TSettings settings, bool preCommand) 
    where TSettings : AutoToolSettings, new()

Attributes

Type Description
NullableContextAttribute
IteratorStateMachineAttribute

Type Parameters

Name Description
TSettings The type of Settings.

Parameters

Name Type Description
property PropertyInfo The property to handle.
settings TSettings The settings.
preCommand bool Pre or post command.

Return Value

Type Description
IEnumerable<Nullable<BuildahArgument>> A collection of BuildahArgument.