PathAliases Class

Summary

Contains functionality for manipulating the path.
Assembly
Cake.Path.dll
Namespace
Cake.Path
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PathAliases"] class Type type-node

Syntax

public static class PathAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
AddToPath(ICakeContext, DirectoryPath, PathSettings) void
Adds a value to the path.
static
AddToPath(ICakeContext, DirectoryPath) void
Adds a value to the path.
static
GetEnvironmentPath(ICakeContext, PathSettings) string
Gets the environment's path.
static
GetEnvironmentPath(ICakeContext) string
Gets the environment's path.
static
ReloadPath(ICakeContext) void
Reloads an in process path.
static
RemoveFromPath(ICakeContext, DirectoryPath, PathSettings) void
Removes a value from the path.
static
RemoveFromPath(ICakeContext, DirectoryPath) void
Removes a value from the path.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin