DuplicateArgumentEventArgs Class

Provides data for the CommandLineParserDuplicateArgument event.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public class DuplicateArgumentEventArgs : EventArgs
Inheritance
Object    EventArgs    DuplicateArgumentEventArgs

Constructors

DuplicateArgumentEventArgs(CommandLineArgument, String) Initializes a new instance of the DuplicateArgumentEventArgs class.
DuplicateArgumentEventArgs(CommandLineArgument, Boolean, ReadOnlyMemoryChar) Initializes a new instance of the DuplicateArgumentEventArgs class.

Properties

Argument Gets the argument that was specified more than once.
KeepOldValue Gets or sets a value that indicates whether the value of the argument should stay unmodified.
NewValue Gets the new value that will be assigned to the argument.

Methods

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)
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)
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