Class ArgumentDefinitionBuilder
Fluent DSL used for creating arguments for Akka commands we're defining.
Inheritance
System.Object
ArgumentDefinitionBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public sealed class ArgumentDefinitionBuilder
Methods
AllowMultiple(Boolean)
Declaration
public ArgumentDefinitionBuilder AllowMultiple(bool allowMultiple)
Parameters
Type |
Name |
Description |
System.Boolean |
allowMultiple |
|
Returns
Build()
Declaration
public CommandArgument Build()
Returns
IsMandatory(Boolean)
Declaration
public ArgumentDefinitionBuilder IsMandatory(bool isMandatory)
Parameters
Type |
Name |
Description |
System.Boolean |
isMandatory |
|
Returns
TreatAsFlag(Boolean)
Declaration
public ArgumentDefinitionBuilder TreatAsFlag(bool flagTreatment)
Parameters
Type |
Name |
Description |
System.Boolean |
flagTreatment |
|
Returns
WithDefaultValue(String)
Declaration
public ArgumentDefinitionBuilder WithDefaultValue(string defaultValue)
Parameters
Type |
Name |
Description |
System.String |
defaultValue |
|
Returns
WithDefaultValues(String[])
Declaration
public ArgumentDefinitionBuilder WithDefaultValues(params string[] defaultValues)
Parameters
Type |
Name |
Description |
System.String[] |
defaultValues |
|
Returns
WithDescription(String)
Declaration
public ArgumentDefinitionBuilder WithDescription(string description)
Parameters
Type |
Name |
Description |
System.String |
description |
|
Returns
WithName(String)
Declaration
public ArgumentDefinitionBuilder WithName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
WithSwitch(String)
Declaration
public ArgumentDefinitionBuilder WithSwitch(string switchSymbol)
Parameters
Type |
Name |
Description |
System.String |
switchSymbol |
|
Returns