Skip to content

T_CommandLine_UnParserSettings

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

UnParserSettings Class

Provides settings for when formatting command line from an options instance../>.

Inheritance Hierarchy

System.Object
  CommandLine.UnParserSettings
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public class UnParserSettings

VB

Public Class UnParserSettings

C++

public ref class UnParserSettings

F#

type UnParserSettings =  class end

The UnParserSettings type exposes the following members.

Constructors

 

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

Properties

 

Name Description
Protected property Consumed
Public property GroupSwitches Gets or sets a value indicating whether unparsing process shall group switches.
Public property PreferShortName Gets or sets a value indicating whether unparsing process shall prefer short or long names.
Public property ShowHidden Gets or sets a value indicating whether unparsing process shall expose hidden options.
Public property UseEqualToken Gets or sets a value indicating whether unparsing process shall use equal sign with long names.
  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 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.)
Public methodStatic member WithGroupSwitchesOnly Factory method that creates an instance of UnParserSettings with GroupSwitches set to true.
Public methodStatic member WithUseEqualTokenOnly Factory method that creates an instance of UnParserSettings with UseEqualToken set to true.
  Back to Top

Extension Methods

 

Name Description
Private Extension Method IsEmpty (Defined by UnParserExtensions.)
Private Extension Method NormalizeValue (Defined by UnParserExtensions.)
  Back to Top

See Also

Reference

CommandLine Namespace

Clone this wiki locally