PathUtilities.

IncludedPaths(string, string) Method

Summary

Returns a collection containing all paths that match the path expression.

Syntax

public static IEnumerable<string> IncludedPaths(string pathExpression, string baseDirectory)

Parameters

Name Type Description
pathExpression string The expression that describes the desired paths. May contain wild cards.
baseDirectory string The base directory relative to which the path expressions will be taken.

Return Value

Type Description
IEnumerable<string> The collection of files that match the expression.