Skip to content

T_CommandLine_Text_HeadingInfo

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

HeadingInfo Class

Models the heading part of an help text. You can assign it where you assign any String instance.

Inheritance Hierarchy

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

Syntax

C#

public class HeadingInfo

VB

Public Class HeadingInfo

C++

public ref class HeadingInfo

F#

type HeadingInfo =  class end

The HeadingInfo type exposes the following members.

Constructors

 

Name Description
Public method HeadingInfo Initializes a new instance of the HeadingInfo class specifying program name and version.
  Back to Top

Properties

 

Name Description
Public propertyStatic member Default Gets the default heading instance. The title is retrieved from AssemblyTitleAttribute, or the assembly short name if its not defined. The version is retrieved from AssemblyInformationalVersionAttribute, or the assembly version if its not defined.
Public propertyStatic member Empty An empty object used for initialization.
  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 the heading as a String. (Overrides Object.ToString().)
Public method WriteError Writes out a string and a new line using the program name specified in the constructor and message parameter to standard error stream.
Public method WriteMessage(String) Writes out a string and a new line using the program name specified in the constructor and message parameter to standard output stream.
Public method WriteMessage(String, TextWriter) Writes out a string and a new line using the program name specified in the constructor and message parameter.
  Back to Top

Operators

 

Name Description
Public operatorStatic member Implicit(HeadingInfo to String) Converts the heading to a String.
  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.Text Namespace

Clone this wiki locally