Skip to content

T_CommandLine_Core_Specification

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

Specification Class

Inheritance Hierarchy

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

Syntax

C#

internal abstract class Specification

VB

Friend MustInherit Class Specification

C++

internal ref class Specification abstract

F#

[<AbstractClassAttribute>]
type Specification =  class end

The Specification type exposes the following members.

Constructors

 

Name Description
Protected method Specification Initializes a new instance of the Specification class
  Back to Top

Properties

 

Name Description
Public property ConversionType
Public property DefaultValue
Public property EnumValues
Public property HelpText
Public property Hidden
Public property Max
Public property MetaValue
Public property Min
Public property Required
Public property Tag
Public property TargetType
  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 FromProperty
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 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.)
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.)
  Back to Top

See Also

Reference

CommandLine.Core Namespace

Clone this wiki locally