PeanutButter
Loading...
Searching...
No Matches
PeanutButter.EasyArgs.Attributes.ShortNameAttribute Class Reference

Explicitly sets the short name for a parsed argument If you had an option property like "RemoteServer", the default long name would be "r", which could be reached on the cli via "-r" or "-R", depending on if another property starting with "r" was found before RemoteServer. Override this here. More...

Inheritance diagram for PeanutButter.EasyArgs.Attributes.ShortNameAttribute:
PeanutButter.EasyArgs.Attributes.StringAttribute

Public Member Functions

 ShortNameAttribute (char name)

Additional Inherited Members

Protected Member Functions inherited from PeanutButter.EasyArgs.Attributes.StringAttribute
 StringAttribute (string value)
Properties inherited from PeanutButter.EasyArgs.Attributes.StringAttribute
string Value [get]
 Stored value.

Detailed Description

Explicitly sets the short name for a parsed argument If you had an option property like "RemoteServer", the default long name would be "r", which could be reached on the cli via "-r" or "-R", depending on if another property starting with "r" was found before RemoteServer. Override this here.


The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.EasyArgs/Attributes/ShortNameAttribute.cs