Skip to main content

Definition

Assembly: CloudNimble.DotNetDocs.Tools.dll Namespace: CloudNimble.DotNetDocs.Tools Inheritance: System.Object

Syntax

CloudNimble.DotNetDocs.Tools.Program

Constructors

.ctor

Syntax

public Program()

.ctor Inherited

Inherited from object

Syntax

public Object()

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

Main

Initializes and runs the application using the specified command-line arguments.

Syntax

public static System.Threading.Tasks.Task<int> Main(string[] args)

Parameters

NameTypeDescription
argsstring[]An array of command-line arguments to configure the application’s behavior.

Returns

Type: System.Threading.Tasks.Task<int> A task that represents the asynchronous operation. The task result contains the application’s exit code.

Remarks

This method configures the application’s host, sets the content root, and runs the command-line application asynchronously. It is typically used as the application’s entry point.

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?