Interface IOptionProperty
Interface for a property that binds a CommandlineOption to a property on an object instance.
Namespace: Ubiquity.CommandlineParsing
Assembly: Ubiquity.CommandlineParsing.dll
Syntax
public interface IOptionProperty
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 |