DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
DirectOutput.General.FilePatternList Class Reference

A list of file patterns. More...

Inheritance diagram for DirectOutput.General.FilePatternList:
Collaboration diagram for DirectOutput.General.FilePatternList:

Public Member Functions

List< FileInfo > GetMatchingFiles (Dictionary< string, string > ReplaceValues=null)
 Gets the files matching one of the entries in this list.
FileInfo GetFirstMatchingFile (Dictionary< string, string > ReplaceValues=null)
 Gets the first matching file for the entries in the list.

Detailed Description

A list of file patterns.

Member Function Documentation

◆ GetFirstMatchingFile()

FileInfo DirectOutput.General.FilePatternList.GetFirstMatchingFile ( Dictionary< string, string > ReplaceValues = null)

Gets the first matching file for the entries in the list.

Parameters
ReplaceValuesDictionary containing key/value pairs used to replace placeholders in the form {PlaceHolder} in the patterns.
Returns
FileInfo object for the first file matching a entry in the list or null if no match is found.

◆ GetMatchingFiles()

List< FileInfo > DirectOutput.General.FilePatternList.GetMatchingFiles ( Dictionary< string, string > ReplaceValues = null)

Gets the files matching one of the entries in this list.

Parameters
ReplaceValuesDictionary containing key/value pairs used to replace placeholders in the form {PlaceHolder} in the patterns.
Returns
The list of files matching one of the entries in this list.

The documentation for this class was generated from the following file: