MatcherExtensions.Match Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Match(Matcher, IEnumerable<String>) |
Matches the files passed in with the patterns in the matcher without going to disk. |
Match(Matcher, String) |
Matches the file passed in with the patterns in the matcher without going to disk. |
Match(Matcher, String, IEnumerable<String>) |
Matches the files passed in with the patterns in the matcher without going to disk. |
Match(Matcher, String, String) |
Matches the file passed in with the patterns in the matcher without going to disk. |
Match(Matcher, IEnumerable<String>)
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
Matches the files passed in with the patterns in the matcher without going to disk.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::FileSystemGlobbing::PatternMatchingResult ^ Match(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, System::Collections::Generic::IEnumerable<System::String ^> ^ files);
public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, System.Collections.Generic.IEnumerable<string>? files);
static member Match : Microsoft.Extensions.FileSystemGlobbing.Matcher * seq<string> -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
<Extension()>
Public Function Match (matcher As Matcher, files As IEnumerable(Of String)) As PatternMatchingResult
Parameters
- matcher
- Matcher
The matcher that holds the patterns and pattern matching type.
- files
- IEnumerable<String>
The files to run the matcher against.
Returns
The match results.
Applies to
Match(Matcher, String)
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
Matches the file passed in with the patterns in the matcher without going to disk.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::FileSystemGlobbing::PatternMatchingResult ^ Match(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, System::String ^ file);
public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string file);
static member Match : Microsoft.Extensions.FileSystemGlobbing.Matcher * string -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
<Extension()>
Public Function Match (matcher As Matcher, file As String) As PatternMatchingResult
Parameters
- matcher
- Matcher
The matcher that holds the patterns and pattern matching type.
- file
- String
The file to run the matcher against.
Returns
The match results.
Applies to
Match(Matcher, String, IEnumerable<String>)
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
Matches the files passed in with the patterns in the matcher without going to disk.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::FileSystemGlobbing::PatternMatchingResult ^ Match(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, System::String ^ rootDir, System::Collections::Generic::IEnumerable<System::String ^> ^ files);
public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string rootDir, System.Collections.Generic.IEnumerable<string>? files);
static member Match : Microsoft.Extensions.FileSystemGlobbing.Matcher * string * seq<string> -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
<Extension()>
Public Function Match (matcher As Matcher, rootDir As String, files As IEnumerable(Of String)) As PatternMatchingResult
Parameters
- matcher
- Matcher
The matcher that holds the patterns and pattern matching type.
- rootDir
- String
The root directory for the matcher to match the files from.
- files
- IEnumerable<String>
The files to run the matcher against.
Returns
The match results.
Applies to
Match(Matcher, String, String)
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
- Source:
- MatcherExtensions.cs
Matches the file passed in with the patterns in the matcher without going to disk.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::FileSystemGlobbing::PatternMatchingResult ^ Match(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, System::String ^ rootDir, System::String ^ file);
public static Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Match (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string rootDir, string file);
static member Match : Microsoft.Extensions.FileSystemGlobbing.Matcher * string * string -> Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult
<Extension()>
Public Function Match (matcher As Matcher, rootDir As String, file As String) As PatternMatchingResult
Parameters
- matcher
- Matcher
The matcher that holds the patterns and pattern matching type.
- rootDir
- String
The root directory for the matcher to match the file from.
- file
- String
The file to run the matcher against.
Returns
The match results.
Applies to
.NET