NDepend.API Documentation
ToStringOrIfNullToEmptyString Method
NDepend.Path Namespace > PathHelpers Class : ToStringOrIfNullToEmptyString Method
The path reference.
Returns path.ToString() is path is null, else returns the empty string.
Syntax
[Extension()]
public static string ToStringOrIfNullToEmptyString( 
   IPath path
)

Parameters

path
The path reference.
Requirements

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

See Also

Reference

PathHelpers Class
PathHelpers Members