T_CommandLine_Text_CopyrightInfo - adutton/commandline GitHub Wiki
Models the copyright part of an help text. You can assign it where you assign any String instance.
System.Object
CommandLine.Text.CopyrightInfo
Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public class CopyrightInfoVB
Public Class CopyrightInfoC++
public ref class CopyrightInfoF#
type CopyrightInfo = class endThe CopyrightInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
CopyrightInfo() | Initializes a new instance of the CopyrightInfo class. |
![]() |
CopyrightInfo(AssemblyCopyrightAttribute) | Initializes a new instance of the CopyrightInfo class with an assembly attribute, this overrides all formatting. |
![]() |
CopyrightInfo(String, Int32) | Initializes a new instance of the CopyrightInfo class specifying author and year. |
![]() |
CopyrightInfo(String, Int32[]) | Initializes a new instance of the CopyrightInfo class specifying author and copyrightYears. |
![]() |
CopyrightInfo(Boolean, String, Int32[]) | Initializes a new instance of the CopyrightInfo class specifying symbol case, author and copyrightYears. |
| Name | Description | |
|---|---|---|
![]() |
CopyrightWord | Gets a different copyright word when overridden in a derived class. |
![]()
|
Default | Gets the default copyright information. Retrieved from AssemblyCopyrightAttribute, if it exists, otherwise it uses AssemblyCompanyAttribute as copyright holder with the current year. If neither exists it throws an InvalidOperationException. |
![]()
|
Empty | An empty object used for initialization. |
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FormatYears | When overridden in a derived class, allows to specify a new algorithm to render copyright copyrightYears as a String instance. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns the copyright as a String. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
![]()
|
Implicit(CopyrightInfo to String) | Converts the copyright instance to a String. |
| Name | Description | |
|---|---|---|
![]() |
IsEmpty | (Defined by UnParserExtensions.) |
![]() |
NormalizeValue | (Defined by UnParserExtensions.) |






