Class OptionPropertyBase
Abstract base class for implementing IOptionProperty
Inheritance
OptionPropertyBase
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()
Namespace: Ubiquity.CommandlineParsing
Assembly: Ubiquity.CommandlineParsing.dll
Syntax
public abstract class OptionPropertyBase : IOptionProperty
Constructors
OptionPropertyBase(CommandlineOption, Boolean, Boolean, Boolean) | Initializes a new instance of the OptionPropertyBase class. |
Properties
AllowSpaceDelimitedValue | Gets a value indicating whether this property allows a space delimited value |
IsCollection | Gets a value indicating whether this property is a collection that accepts multiple values |
IsSet | Gets a value indicating whether this property was set |
Option | Gets the option to bind to this property |
RequiresValue | Gets a value indicating whether this property requires a value. |
Methods
BindValue() | Sets the value of the property from Option |
BindValue(String) | Sets a value for the property when the option didn't have a value |
InternalSetValue(String) | Abstract method to actually set the value of the property |