Skip to content

T_CommandLine_Text_Example

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

Example Class

Models a command line usage example.

Inheritance Hierarchy

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

Syntax

C#

publicsealedclassExample:IEquatable<Example>

VB

PublicNotInheritableClassExampleImplementsIEquatable(OfExample)

C++

public ref classExample sealed : IEquatable<Example^>

F#

[<SealedAttribute>]typeExample=classinterface IEquatable<Example>end

The Example type exposes the following members.

Constructors

NameDescription
Public methodExample(String, Object) Initializes a new instance of the Example class.
Public methodExample(String, UnParserSettings, Object) Initializes a new instance of the Example class.
Public methodExample(String, IEnumerable(UnParserSettings), Object) Initializes a new instance of the Example class.
Back to Top

Properties

NameDescription
Public propertyFormatStyles A sequence of format styles.
Public propertyHelpText Example description.
Public propertySample A sample instance.
Back to Top

Methods

NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).)
Public methodEquals(Example) Returns a value that indicates whether the current instance and a specified Example have the same value.
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 Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
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
Public Extension MethodGetFormatStylesOrDefault (Defined by ExampleExtensions.)
Private Extension MethodIsEmpty (Defined by UnParserExtensions.)
Private Extension MethodNormalizeValue (Defined by UnParserExtensions.)
Back to Top

See Also

Reference

CommandLine.Text Namespace

Clone this wiki locally