PathUtilities.

IncludedPaths(string, IEnumerable<string>, string) Method

Summary

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

Syntax

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

Parameters

Name Type Description
pathExpression string The expression that describes the desired paths. May contain wild cards.
excludedPathExpressions IEnumerable<string> The expressions that describe the paths that should not be included in the final collection. Each expression 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.