PathSet.

TranslatePath(Project, string) Method

Summary

Splits a PATH (with ; or : as separators) into its parts, while resolving references to environment variables.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
PathSet

Syntax

public static StringCollection TranslatePath(Project project, string source)

Parameters

Name Type Description
project Project The NAnt.Core.Project to be used to resolve relative paths.
source string The path to translate.

Return Value

Type Description
StringCollection A PATH split up its parts, with references to environment variables resolved and duplicate entries removed.