AutoPropertyAttribute Class

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

Syntax

public class AutoPropertyAttribute : Attribute

Attributes

Type Description
NullableContextAttribute
NullableAttribute
AttributeUsageAttribute

Constructors

Properties

Name Value Summary
Format string
Format of the output, i.e. "-s {1}" where {0} is property name and {1} is value.
OnlyWhenTrue bool
Outputs only when given value is true.
PreCommand bool
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
Throws an exception if the specified parameter's value is null.
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