Skip to content

T_CommandLine_Text_AssemblyLicenseAttribute

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

AssemblyLicenseAttribute Class

Models a multiline assembly license text.

Inheritance Hierarchy

System.Object
System.Attribute
CommandLine.Text.MultilineTextAttribute
CommandLine.Text.AssemblyLicenseAttribute
Namespace:CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

publicsealedclassAssemblyLicenseAttribute:MultilineTextAttribute

VB

PublicNotInheritableClassAssemblyLicenseAttributeInheritsMultilineTextAttribute

C++

public ref classAssemblyLicenseAttribute sealed : public MultilineTextAttribute

F#

[<SealedAttribute>]typeAssemblyLicenseAttribute=classinherit MultilineTextAttribute end

The AssemblyLicenseAttribute type exposes the following members.

Constructors

NameDescription
Public methodAssemblyLicenseAttribute(String) Initializes a new instance of the AssemblyLicenseAttribute class with one line of text.
Public methodAssemblyLicenseAttribute(String, String) Initializes a new instance of the AssemblyLicenseAttribute class with two lines of text.
Public methodAssemblyLicenseAttribute(String, String, String) Initializes a new instance of the AssemblyLicenseAttribute class with three lines of text.
Public methodAssemblyLicenseAttribute(String, String, String, String) Initializes a new instance of the AssemblyLicenseAttribute class with four lines of text.
Public methodAssemblyLicenseAttribute(String, String, String, String, String) Initializes a new instance of the AssemblyLicenseAttribute class with five lines of text.
Back to Top

Properties

NameDescription
Public propertyLine1 Gets the first line of text. (Inherited from MultilineTextAttribute.)
Public propertyLine2 Gets the second line of text. (Inherited from MultilineTextAttribute.)
Public propertyLine3 Gets third line of text. (Inherited from MultilineTextAttribute.)
Public propertyLine4 Gets the fourth line of text. (Inherited from MultilineTextAttribute.)
Public propertyLine5 Gets the fifth line of text. (Inherited from MultilineTextAttribute.)
Public propertyTypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public propertyValue Gets the all non-blank lines as string. (Inherited from MultilineTextAttribute.)
Back to Top

Methods

NameDescription
Protected methodAddToHelpText(HelpText, Boolean) (Inherited from MultilineTextAttribute.)
Protected methodAddToHelpText(HelpText, Func(String, HelpText)) (Inherited from MultilineTextAttribute.)
Public methodEquals Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Protected methodFinalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCode Returns the hash code for this instance. (Inherited from Attribute.)
Protected methodGetLastLineWithText Returns the last line with text. Preserves blank lines if user intended by skipping a line. (Inherited from MultilineTextAttribute.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodIsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public methodMatch When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString Returns a string that represents the current object. (Inherited from Object.)
Back to Top

Extension Methods

NameDescription
Private Extension MethodIsEmpty (Defined by UnParserExtensions.)
Private Extension MethodNormalizeValue (Defined by UnParserExtensions.)
Back to Top

Explicit Interface Implementations

NameDescription
Explicit interface implementationPrivate method_Attribute.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from Attribute.)
Explicit interface implementationPrivate method_Attribute.GetTypeInfo Retrieves the type information for an object, which can be used to get the type information for an interface. (Inherited from Attribute.)
Explicit interface implementationPrivate method_Attribute.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from Attribute.)
Explicit interface implementationPrivate method_Attribute.Invoke Provides access to properties and methods exposed by an object. (Inherited from Attribute.)
Back to Top

See Also

Reference

CommandLine.Text Namespace

Clone this wiki locally