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()

Methods

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.