Skip to content

T_CommandLine_NameInfo

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

NameInfo Class

Models name information, used in Error instances.

Inheritance Hierarchy

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

Syntax

C#

public sealed class NameInfo : IEquatable<NameInfo>

VB

Public NotInheritable Class NameInfo
	Implements IEquatable(Of NameInfo)

C++

public ref class NameInfo sealed : IEquatable<NameInfo^>

F#

[<SealedAttribute>]
type NameInfo =  
    class
        interface IEquatable<NameInfo>
    end

The NameInfo type exposes the following members.

Constructors

 

Name Description
Private methodStatic member NameInfo
Protected method NameInfo Initializes a new instance of the NameInfo class
  Back to Top

Properties

 

Name Description
Public property LongName Gets the long name of the name information.
Public property NameText Gets a formatted text with unified name information.
Public property ShortName Gets the short name of the name information.
  Back to Top

Methods

 

Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).)
Public method Equals(NameInfo) Returns a value that indicates whether the current instance and a specified NameInfo have the same value.
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 a hash function for a particular type. (Overrides Object.GetHashCode().)
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 a string that represents the current object. (Inherited from Object.)
  Back to Top

Fields

 

Name Description
Public fieldStatic member EmptyName Represents an empty name information. Used when Error are tied to values, rather than options.
  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 Namespace

Clone this wiki locally