Add XML documentation across gateway, worker, and .NET client
This commit is contained in:
@@ -6,8 +6,11 @@ using MxGateway.Worker.Ipc;
|
||||
|
||||
namespace MxGateway.Worker;
|
||||
|
||||
/// <summary>Entry point for the worker process.</summary>
|
||||
public static class WorkerApplication
|
||||
{
|
||||
/// <summary>Initializes and runs the worker with default environment and logging.</summary>
|
||||
/// <param name="args">Command-line arguments.</param>
|
||||
public static int Run(string[] args)
|
||||
{
|
||||
return Run(
|
||||
@@ -16,6 +19,10 @@ public static class WorkerApplication
|
||||
new WorkerConsoleLogger(Console.Error));
|
||||
}
|
||||
|
||||
/// <summary>Initializes and runs the worker with custom environment and logging.</summary>
|
||||
/// <param name="args">Command-line arguments.</param>
|
||||
/// <param name="environment">Worker environment for resolving configuration.</param>
|
||||
/// <param name="logger">Worker logger for diagnostics.</param>
|
||||
public static int Run(
|
||||
string[] args,
|
||||
IWorkerEnvironment environment,
|
||||
@@ -28,6 +35,11 @@ public static class WorkerApplication
|
||||
new WorkerPipeClient(logger));
|
||||
}
|
||||
|
||||
/// <summary>Parses arguments, bootstraps the handshake, and runs the worker until shutdown.</summary>
|
||||
/// <param name="args">Command-line arguments.</param>
|
||||
/// <param name="environment">Worker environment for resolving configuration.</param>
|
||||
/// <param name="logger">Worker logger for diagnostics.</param>
|
||||
/// <param name="pipeClient">Named pipe client for gateway communication.</param>
|
||||
public static int Run(
|
||||
string[] args,
|
||||
IWorkerEnvironment environment,
|
||||
|
||||
Reference in New Issue
Block a user