Models the heading part of an help text. You can assign it where you assign any System....
readonly string programName
void WriteMessage(string message)
Writes out a string and a new line using the program name specified in the constructor and message p...
static HeadingInfo Default
Gets the default heading instance. The title is retrieved from AssemblyTitleAttribute,...
override string ToString()
Returns the heading as a System.String.
static HeadingInfo Empty
An empty object used for initialization.
HeadingInfo(string programName, string version=null)
Initializes a new instance of the CommandLine.Text.HeadingInfo class specifying program name and vers...
void WriteMessage(string message, TextWriter writer)
Writes out a string and a new line using the program name specified in the constructor and message p...
void WriteError(string message)
Writes out a string and a new line using the program name specified in the constructor and message p...