AutoPropertyAttribute Class

Summary

Auto Property Attribute.
Assembly
Cake.Buildah.dll
Namespace
Cake.Buildah
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["AutoPropertyAttribute"] class Type type-node

Syntax

public sealed class AutoPropertyAttribute : Attribute

Attributes

Type Description
NullableContextAttribute
NullableAttribute
AttributeUsageAttribute

Constructors

Properties

Name Value Summary
AutoArrayType AutoArrayType
Gets or sets array representation in command line.
Format string
Gets or sets format of the output, i.e. "-s {1}" where {0} is property name and {1} is value.
OnlyWhenTrue bool
Gets or sets a value indicating whether outputs only when given value is true.
PreCommand bool
Gets or sets a value indicating whether whether it appears before command.

Extension Methods

Name Value Summary
Dump<AutoPropertyAttribute>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AutoPropertyAttribute>(AutoPropertyAttribute[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AutoPropertyAttribute>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AutoPropertyAttribute>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AutoPropertyAttribute>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AutoPropertyAttribute>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin