DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
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 More...
 
FileInfo GetFirstMatchingFile (Dictionary< string, string > ReplaceValues=null)
 Gets the first matching file for the entries in the list. More...
 

Detailed Description

A list of file patterns.

Member Function Documentation

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.
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: