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#

public sealed class Example : IEquatable<Example>

VB

Public NotInheritable Class Example
	Implements IEquatable(Of Example)

C++

public ref class Example sealed : IEquatable<Example^>

F#

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

The Example type exposes the following members.

Constructors

 

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

Properties

 

Name Description
Public property FormatStyles A sequence of format styles.
Public property HelpText Example description.
Public property Sample A sample instance.
  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(Example) Returns a value that indicates whether the current instance and a specified Example 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

Extension Methods

 

Name Description
Public Extension Method GetFormatStylesOrDefault (Defined by ExampleExtensions.)
Private Extension Method IsEmpty (Defined by UnParserExtensions.)
Private Extension Method NormalizeValue (Defined by UnParserExtensions.)
  Back to Top

See Also

Reference

CommandLine.Text Namespace

Clone this wiki locally