Table of Contents

Class BuildOperations

Namespace
Ando.Scripting
Assembly
ando.dll

Container for all build operation instances. Provides access to all operation classes (Dotnet, Npm, Azure, etc.) that build scripts use to register build steps.

public class BuildOperations
Inheritance
BuildOperations
Inherited Members

Constructors

BuildOperations(StepRegistry, IBuildLogger, Func<ICommandExecutor>, Func<string, string>, BuildOptions, ProfileRegistry)

Creates all operation instances.

public BuildOperations(StepRegistry registry, IBuildLogger logger, Func<ICommandExecutor> executorFactory, Func<string, string> containerToHostPath, BuildOptions buildOptions, ProfileRegistry profileRegistry)

Parameters

registry StepRegistry

Step registry for operations to register steps.

logger IBuildLogger

Logger for operations to use.

executorFactory Func<ICommandExecutor>

Factory to get current executor.

containerToHostPath Func<string, string>

Function to translate container paths to host paths.

buildOptions BuildOptions

Build options for configuring the current build.

profileRegistry ProfileRegistry

Profile registry for passing profiles to sub-builds.

Properties

Ando

ANDO operations for image configuration, artifacts, and nested builds.

public AndoOperations Ando { get; }

Property Value

AndoOperations

AppService

Azure App Service deployment operations.

public AppServiceOperations AppService { get; }

Property Value

AppServiceOperations

Azure

Azure CLI authentication and account operations.

public AzureOperations Azure { get; }

Property Value

AzureOperations

Bicep

Azure Bicep deployment operations.

public BicepOperations Bicep { get; }

Property Value

BicepOperations

Cloudflare

Cloudflare operations (Pages deployment, etc.).

public CloudflareOperations Cloudflare { get; }

Property Value

CloudflareOperations

Docfx

DocFX operations for generating API documentation.

public DocfxOperations Docfx { get; }

Property Value

DocfxOperations

Docker

Docker operations (build images).

public DockerOperations Docker { get; }

Property Value

DockerOperations

Dotnet

.NET CLI operations.

public DotnetOperations Dotnet { get; }

Property Value

DotnetOperations

DotnetSdk

Legacy .NET SDK installation operations. Use Dotnet.SdkInstall() instead.

[Obsolete("Use Dotnet.SdkInstall() instead.")]
public DotnetSdkOperations DotnetSdk { get; }

Property Value

DotnetSdkOperations

Ef

Entity Framework operations.

public EfOperations Ef { get; }

Property Value

EfOperations

Functions

Azure Functions deployment operations.

public FunctionsOperations Functions { get; }

Property Value

FunctionsOperations

Git

Git version control operations (tag, push).

public GitOperations Git { get; }

Property Value

GitOperations

GitHub

GitHub operations (PRs, releases, container registry).

public GitHubOperations GitHub { get; }

Property Value

GitHubOperations

Log

Logging operations for build script output.

public LogOperations Log { get; }

Property Value

LogOperations

Node

Node.js installation operations (installs Node.js globally).

public NodeInstallOperations Node { get; }

Property Value

NodeInstallOperations

Npm

npm operations.

public NpmOperations Npm { get; }

Property Value

NpmOperations

NpmGlobal

npm global tool installation operations (upgrade npm version).

public NpmInstallOperations NpmGlobal { get; }

Property Value

NpmInstallOperations

Nuget

NuGet package operations (pack, push).

public NugetOperations Nuget { get; }

Property Value

NugetOperations

Playwright

Playwright E2E testing operations.

public PlaywrightOperations Playwright { get; }

Property Value

PlaywrightOperations