BaseStringAttribute Class

Assembly
Cake.ArgumentBinder.dll
Namespace
Cake.ArgumentBinder
Base Types
Derived Types
graph BT Type-->Base0["BaseAttribute"] click Base0 "/api/Cake.ArgumentBinder/BaseAttribute" Base0-->Base1["Attribute"] Type["BaseStringAttribute"] class Type type-node Derived0["StringArgumentAttribute"]-->Type click Derived0 "/api/Cake.ArgumentBinder/StringArgumentAttribute"

Syntax

public class BaseStringAttribute : BaseAttribute

Constructors

Properties

Name Value Summary
ArgName string
Inherited from BaseAttribute
BaseDefaultValue object
BaseType Type
DefaultValue string
Description string
Inherited from BaseAttribute
HasSecretValue bool
Inherited from BaseAttribute
Required bool
Inherited from BaseAttribute

Methods

Name Value Summary
ToString() string
ToString(StringBuilder) void
Inherited from BaseAttribute

Extension Methods

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