Models the copyright part of an help text. You can assign it where you assign any System....
virtual string CopyrightWord
Gets a different copyright word when overridden in a derived class.
CopyrightInfo()
Initializes a new instance of the CommandLine.Text.CopyrightInfo class.
override string ToString()
Returns the copyright as a System.String.
CopyrightInfo(AssemblyCopyrightAttribute attribute)
Initializes a new instance of the CommandLine.Text.CopyrightInfo class with an assembly attribute,...
CopyrightInfo(bool isSymbolUpper, string author, params int[] copyrightYears)
Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying symbol case,...
static CopyrightInfo Empty
An empty object used for initialization.
readonly bool isSymbolUpper
readonly AssemblyCopyrightAttribute attribute
readonly int[] copyrightYears
CopyrightInfo(string author, int year)
Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and year.
const string DefaultCopyrightWord
virtual string FormatYears(int[] years)
When overridden in a derived class, allows to specify a new algorithm to render copyright copyrightYe...
CopyrightInfo(string author, params int[] years)
Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and copyrigh...
static CopyrightInfo Default
Gets the default copyright information. Retrieved from AssemblyCopyrightAttribute,...