TaskArgumentConverterAttribute Class

Summary

Allows you to Specify which TaskArgumentTypeConverter can be used on a particular Task Argument.
Assembly
Cake.Sprinkles.Module.dll
Namespace
Cake.Sprinkles.Module.TypeConversion
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["TaskArgumentConverterAttribute"] class Type type-node

Syntax

public class TaskArgumentConverterAttribute : Attribute

Attributes

Type Description
NullableContextAttribute
NullableAttribute
AttributeUsageAttribute

Constructors

Name Summary
TaskArgumentConverterAttribute(Type) Initializes a new instance of the TaskArgumentConverterAttribute class.

Properties

Name Value Summary
ConverterType Type
Gets the type of the ITaskArgumentTypeConverter.

Extension Methods

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