Skip to content

T_CommandLine_Core_OptionSpecification

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

OptionSpecification Class

Inheritance Hierarchy

System.Object
  CommandLine.Core.Specification
    CommandLine.Core.OptionSpecification
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

internal sealed class OptionSpecification : Specification

VB

Friend NotInheritable Class OptionSpecification
	Inherits Specification

C++

internal ref class OptionSpecification sealed : public Specification

F#

[<SealedAttribute>]
type OptionSpecification =  
    class
        inherit Specification
    end

The OptionSpecification type exposes the following members.

Constructors

 

Name Description
Public method OptionSpecification Initializes a new instance of the OptionSpecification class
  Back to Top

Properties

 

Name Description
Public property ConversionType (Inherited from Specification.)
Public property DefaultValue (Inherited from Specification.)
Public property EnumValues (Inherited from Specification.)
Public property HelpText (Inherited from Specification.)
Public property Hidden (Inherited from Specification.)
Public property LongName
Public property Max (Inherited from Specification.)
Public property MetaValue (Inherited from Specification.)
Public property Min (Inherited from Specification.)
Public property Required (Inherited from Specification.)
Public property Separator
Public property SetName
Public property ShortName
Public property Tag (Inherited from Specification.)
Public property TargetType (Inherited from Specification.)
  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic member FromAttribute
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member NewSwitch
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Private Extension Method CountOfMaxNumberOfValues (Defined by ValueMapper.)
Private Extension Method FormatName (Defined by UnParserExtensions.)
Public Extension Method FromOptionSpecification (Defined by NameExtensions.)
Public Extension Method FromSpecification (Defined by NameExtensions.)
Public Extension Method HavingMax (Defined by SpecificationExtensions.)
Public Extension Method HavingMin (Defined by SpecificationExtensions.)
Public Extension Method HavingRange (Defined by SpecificationExtensions.)
Private Extension Method IsEmpty (Defined by UnParserExtensions.)
Public Extension Method IsOption (Defined by SpecificationExtensions.)
Public Extension Method IsValue (Defined by SpecificationExtensions.)
Private Extension Method MakeErrorInCaseOfMinConstraint (Defined by ValueMapper.)
Private Extension Method NormalizeValue (Defined by UnParserExtensions.)
Private Extension Method SeperatorOrSpace (Defined by UnParserExtensions.)
Public Extension Method UniqueName (Defined by SpecificationExtensions.)
Public Extension Method WithLongName (Defined by SpecificationExtensions.)
  Back to Top

See Also

Reference

CommandLine.Core Namespace

Clone this wiki locally