C# Class FileScanner.PatternMatching.MatcherFactory

The factory creating concrete objects implementing IMatcher interface.
显示文件 Open project: kzemek/FileScanner Class Usage Examples

Public Methods

Method Description
Create ( List patterns, MatchAlgorithm algorithm = MatchAlgorithm.Default ) : IMatcher

Initializes a new object implementing the IMatcher interface for finding the specified patterns.

Method Details

Create() public method

Initializes a new object implementing the IMatcher interface for finding the specified patterns.
public Create ( List patterns, MatchAlgorithm algorithm = MatchAlgorithm.Default ) : IMatcher
patterns List The patterns to search for in text.
algorithm MatchAlgorithm /// The algorithm used for underlying implementation. ///
return IMatcher