IReadOnlyArgumentAttribute Interface

graph BT Type["IReadOnlyArgumentAttribute"] class Type type-node Implementing0["StringArgumentAttribute"]-.->Type click Implementing0 "/api/Cake.ArgumentBinder/StringArgumentAttribute" Implementing1["BooleanArgumentAttribute"]-.->Type click Implementing1 "/api/Cake.ArgumentBinder/BooleanArgumentAttribute" Implementing2["IntegerArgumentAttribute"]-.->Type click Implementing2 "/api/Cake.ArgumentBinder/IntegerArgumentAttribute"

Syntax

public interface IReadOnlyArgumentAttribute

Properties

Name Value Summary
ArgName string
Description string
HasSecretValue bool
Required bool

Extension Methods

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