GeneratedArgumentProvider Class

A base class for argument providers created by the GeneratedParserAttribute.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public abstract class GeneratedArgumentProvider : ArgumentProvider
Inheritance
Object    ArgumentProvider    GeneratedArgumentProvider

Remarks

This class is used by the source generator when using the GeneratedParserAttribute attribute. It should not normally be used by other code.

Constructors

GeneratedArgumentProvider Initializes a new instance of the GeneratedArgumentProvider class.

Properties

ApplicationFriendlyName Gets the friendly name of the application.
(Overrides ArgumentProviderApplicationFriendlyName)
ArgumentsType Gets the type that will hold the argument values.
(Inherited from ArgumentProvider)
Description Gets a description that is used when generating usage information.
(Overrides ArgumentProviderDescription)
IsCommand Gets a value that indicates whether this arguments type is a subcommand.
(Inherited from ArgumentProvider)
Kind Gets the kind of argument provider.
(Overrides ArgumentProviderKind)
OptionsAttribute Gets the ParseOptionsAttribute that was applied to the arguments type.
(Inherited from ArgumentProvider)
UsageFooter Gets footer text that is used when generating usage information.
(Inherited from ArgumentProvider)

Methods

CreateInstance Creates an instance of the arguments type.
(Inherited from ArgumentProvider)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetArguments Gets the arguments defined by the arguments type.
(Inherited from ArgumentProvider)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RunValidators Runs the class validators for the arguments type.
(Inherited from ArgumentProvider)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also