NDepend.API Documentation
UpdateExtension Method (IEnvVarFilePath)
NDepend.Path Namespace > IEnvVarFilePath Interface : UpdateExtension Method
The new file extension. It must begin with a dot followed by one or many characters.
Returns a new file path prefixed with an environment variable, representing this file with its file name extension updated to newExtension.
Syntax
IEnvVarFilePath UpdateExtension( 
   string newExtension
)

Parameters

newExtension
The new file extension. It must begin with a dot followed by one or many characters.
Requirements

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

See Also

Reference

IEnvVarFilePath Interface
IEnvVarFilePath Members