This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ArgumentBinder.
- Assembly
- Cake
.ArgumentBinder .dll - Namespace
- Cake
.ArgumentBinder - Interfaces
- Base Types
-
- Attribute
- BaseAttribute
- BasePathAttribute
graph BT
Type-->Base0["BasePathAttribute"]
click Base0 "/api/Cake.ArgumentBinder/BasePathAttribute"
Base0-->Base1["BaseAttribute"]
click Base1 "/api/Cake.ArgumentBinder/BaseAttribute"
Base1-->Base2["Attribute"]
Type-.->Interface0["IReadOnlyArgumentAttribute"]
click Interface0 "/api/Cake.ArgumentBinder/IReadOnlyArgumentAttribute"
Type["DirectoryPathArgumentAttribute"]
class Type type-node
Syntax
public sealed class DirectoryPathArgumentAttribute : BasePathAttribute, IReadOnlyArgumentAttribute
Constructors
Properties
Name | Value | Summary |
---|---|---|
ArgName | string |
The name of the argument that is passed in via the command-line.
Inherited from BaseAttribute
|
ArgumentSource | ArgumentSource |
Where to find the argument's value.
Inherited from BaseAttribute
|
BaseDefaultValue | object |
Inherited from BasePathAttribute
|
Default |
ArgumentSource |
Inherited from BaseAttribute
static
|
DefaultValue | string |
If not specified, the default value is null.
If this is null, and
Required is false,
MustExist can not be true.
Inherited from BasePathAttribute
|
Description | string |
Description of what the argument does.
Inherited from BaseAttribute
|
HasSecretValue | bool |
Set to true if the value passed into the argument
should be hidden from any print-outs to the console.
Inherited from BaseAttribute
|
MustExist | bool |
Must the file exist before executing the task?
Defaulted to false.
If this is true, and
Required is false,
DefaultValue can not be null.
Inherited from BasePathAttribute
|
Required | bool |
If the value is not specified, this will fail validation when this is set to true.
Inherited from BaseAttribute
|
Methods
Name | Value | Summary |
---|---|---|
ToString |
string |
Inherited from BasePathAttribute
|
ToString |
void |
Appends this class's string representation to the passed
in string builder object.
This should be the first thing called when creating a ToString()
function of all child classes.
Inherited from BaseAttribute
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|