NDepend.API Documentation
GetBrotherDirectoryWithName Method (IEnvVarDirectoryPath)
NDepend.Path Namespace > IEnvVarDirectoryPath Interface : GetBrotherDirectoryWithName Method
The brother directory name.
Returns a new directory path prefixed with an environment variable, representing a directory with name directoryName, located in the parent's directory of this directory.
Syntax
IEnvVarDirectoryPath GetBrotherDirectoryWithName( 
   string directoryName
)

Parameters

directoryName
The brother directory name.
Exceptions
ExceptionDescription
This relative directory path doesn't have a parent directory.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IEnvVarDirectoryPath Interface
IEnvVarDirectoryPath Members