PathExtensions Class

Summary

Contains extensions for FilePath and DirectoryPath.
Namespace
Cake.Core.IO
Base Types
  • object
graph BT Type-->Base0["object"] Type["PathExtensions"] class Type type-node

Syntax

public static class PathExtensions

Methods

Name Value Summary
ExpandEnvironmentVariables(DirectoryPath, ICakeEnvironment) DirectoryPath
Expands all environment variables in the provided DirectoryPath.
static
ExpandEnvironmentVariables(FilePath, ICakeEnvironment) FilePath
Expands all environment variables in the provided FilePath.
static

Extension Methods

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