diff --git a/src/ModularPipelines.Azure/Extensions/AzureExtensions.cs b/src/ModularPipelines.Azure/Extensions/AzureExtensions.cs index 481fd6be48..0bdc8202cf 100644 --- a/src/ModularPipelines.Azure/Extensions/AzureExtensions.cs +++ b/src/ModularPipelines.Azure/Extensions/AzureExtensions.cs @@ -18,6 +18,12 @@ namespace ModularPipelines.Azure.Extensions; +/// +/// Extension methods for Azure integration with ModularPipelines. +/// +/// +/// Use context.Azure() to access Azure CLI commands from pipeline modules. +/// public static class AzureExtensions { #pragma warning disable CA2255 @@ -28,6 +34,11 @@ public static void RegisterAzureContext() ModularPipelinesContextRegistry.RegisterContext(collection => RegisterAzureContext(collection)); } + /// + /// Registers Azure services with the dependency injection container. + /// + /// The service collection to register services with. + /// The service collection for method chaining. public static IServiceCollection RegisterAzureContext(this IServiceCollection services) { services.TryAddScoped(); diff --git a/src/ModularPipelines/Context/ICommand.cs b/src/ModularPipelines/Context/ICommand.cs index 734bafd648..6b05668e7e 100644 --- a/src/ModularPipelines/Context/ICommand.cs +++ b/src/ModularPipelines/Context/ICommand.cs @@ -3,6 +3,13 @@ namespace ModularPipelines.Context; +/// +/// Provides functionality for executing command line tools and processes. +/// +/// +/// This interface is the core abstraction for running external processes. +/// For shell-specific execution, see and . +/// public interface ICommand { /// @@ -12,4 +19,4 @@ public interface ICommand /// Cancellation token. /// A representing the asynchronous operation. Task ExecuteCommandLineTool(CommandLineToolOptions options, CancellationToken cancellationToken = default); -} \ No newline at end of file +}