Mercurial.Attributes Namespace

Class Types

Class Summary
ArgumentAttribute This attribute can be applied to properties of command classes to provide the Mercurial executable with options, based on the properties of the command class.
BooleanArgumentAttribute This attribute can be applied to bool-properties in option classes, to specify the option to pass to the executable in case of a false or true value. By default, no options will be sent for either value.
DateTimeArgumentAttribute 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.
EnumArgumentAttribute This attribute can be applied to enum-properties in option classes, to specify the arguments to pass to the executable in case of each possible enum value for the property. Note that usage of any enum values that don't have a corresponding EnumArgumentAttribute will be ignored.
NullableArgumentAttribute 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.
RepeatableArgumentAttribute This attribute can be applied to collection-properties in option classes, to specify the option to prefix each element in the collection with, when building the command line arguments for the Mercurial executable.