TaskArgumentIsFlagAttribute Class

Summary

Allows you to describe that the Task Argument accepts a flag, and converts it into true or false.
graph BT Type-->Base0["Attribute"] Type["TaskArgumentIsFlagAttribute"] class Type type-node

Syntax

public class TaskArgumentIsFlagAttribute : Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Properties

Name Value Summary
IsFlag bool
Gets a value indicating whether the Task Argument accepts a flag.

Extension Methods

Name Value Summary
Dump<TaskArgumentIsFlagAttribute>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<TaskArgumentIsFlagAttribute>(TaskArgumentIsFlagAttribute[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<TaskArgumentIsFlagAttribute>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<TaskArgumentIsFlagAttribute>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<TaskArgumentIsFlagAttribute>(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<TaskArgumentIsFlagAttribute>(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