Class BuildOperations
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
registryStepRegistryStep registry for operations to register steps.
loggerIBuildLoggerLogger for operations to use.
executorFactoryFunc<ICommandExecutor>Factory to get current executor.
containerToHostPathFunc<string, string>Function to translate container paths to host paths.
buildOptionsBuildOptionsBuild options for configuring the current build.
profileRegistryProfileRegistryProfile registry for passing profiles to sub-builds.
Properties
Ando
ANDO operations for image configuration, artifacts, and nested builds.
public AndoOperations Ando { get; }
Property Value
AppService
Azure App Service deployment operations.
public AppServiceOperations AppService { get; }
Property Value
Azure
Azure CLI authentication and account operations.
public AzureOperations Azure { get; }
Property Value
Bicep
Azure Bicep deployment operations.
public BicepOperations Bicep { get; }
Property Value
Cloudflare
Cloudflare operations (Pages deployment, etc.).
public CloudflareOperations Cloudflare { get; }
Property Value
Docfx
DocFX operations for generating API documentation.
public DocfxOperations Docfx { get; }
Property Value
Docker
Docker operations (build images).
public DockerOperations Docker { get; }
Property Value
Dotnet
.NET CLI operations.
public DotnetOperations Dotnet { get; }
Property Value
DotnetSdk
Legacy .NET SDK installation operations. Use Dotnet.SdkInstall() instead.
[Obsolete("Use Dotnet.SdkInstall() instead.")]
public DotnetSdkOperations DotnetSdk { get; }
Property Value
Ef
Entity Framework operations.
public EfOperations Ef { get; }
Property Value
Functions
Azure Functions deployment operations.
public FunctionsOperations Functions { get; }
Property Value
Git
Git version control operations (tag, push).
public GitOperations Git { get; }
Property Value
GitHub
GitHub operations (PRs, releases, container registry).
public GitHubOperations GitHub { get; }
Property Value
Log
Logging operations for build script output.
public LogOperations Log { get; }
Property Value
Node
Node.js installation operations (installs Node.js globally).
public NodeInstallOperations Node { get; }
Property Value
Npm
npm operations.
public NpmOperations Npm { get; }
Property Value
NpmGlobal
npm global tool installation operations (upgrade npm version).
public NpmInstallOperations NpmGlobal { get; }
Property Value
Nuget
NuGet package operations (pack, push).
public NugetOperations Nuget { get; }
Property Value
Playwright
Playwright E2E testing operations.
public PlaywrightOperations Playwright { get; }