C# Class RegexParser.Util.Factory

Provides backdoor access to non-public constructors. To be used for unit testing only.
显示文件 Open project: aistrate/RegexParser

Public Methods

Method Description
CreateMatch ( int index, int length, string value ) : Match2
CreateMatchCollection ( IEnumerable matches ) : MatchCollection2

Method Details

CreateMatch() public static method

public static CreateMatch ( int index, int length, string value ) : Match2
index int
length int
value string
return Match2

CreateMatchCollection() public static method

public static CreateMatchCollection ( IEnumerable matches ) : MatchCollection2
matches IEnumerable
return MatchCollection2