Jaa


Matcher.Execute(DirectoryInfoBase) Method

Definition

Searches the directory specified for all files matching patterns added to this instance of Matcher.

public:
 virtual Microsoft::Extensions::FileSystemGlobbing::PatternMatchingResult ^ Execute(Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase ^ directoryInfo);
public virtual Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Execute (Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directoryInfo);
abstract member Execute : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
override this.Execute : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
Public Overridable Function Execute (directoryInfo As DirectoryInfoBase) As PatternMatchingResult

Parameters

directoryInfo
DirectoryInfoBase

The root directory for the search.

Returns

Always returns an instance of PatternMatchingResult, even if no files were matched.

Applies to