Summary
This attribute can be applied to nullable properties in option classes,
to specify the option to pass to the executable in case
of a
null
value, or the option to pass before the property
value itself.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Attributes - Interfaces
-
- _Attribute
- Base Types
-
- object
- Attribute
- ArgumentAttribute
graph TD
Base0["ArgumentAttribute"]-->Type
click Base0 "/Cake.Hg/api/Mercurial.Attributes/ArgumentAttribute"
Base1["Attribute"]-->Base0
Base2["object"]-->Base1
Interface0["_Attribute"]-.->Type
Type["NullableArgumentAttribute"]
class Type type-node
Syntax
public sealed class NullableArgumentAttribute : ArgumentAttribute, _Attribute
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Nullable |
Properties
Name | Value | Summary |
---|---|---|
NonNullOption | string |
Gets or sets the option to specify before the property value when
passing it to the Mercurial executable. If
System.String.Empty ,
only the property value itself will be passed.
|
NullOption | string |
Gets or sets the option to pass to the Mercurial executable if the
property value is
null . If System.String.Empty ,
no option will be passed in this case.
|
Methods
Name | Value | Summary |
---|---|---|
GetOptions |
string[] |
Gets a collection of options or arguments to pass to the Mercurial
executable, based on the property value from the options class.
|