System.Text.RegularExpressions.RegexRunnerFactory Class

Creates a System.Text.RegularExpressions.RegexRunner class for a compiled regular expression.

See Also: RegexRunnerFactory Members


public abstract class RegexRunnerFactory


A System.Text.RegularExpressions.RegexRunner object executes a compiled regular expression. A regular expression that is compiled to an assembly becomes a type in that assembly, and an object of that type is typically created using reflection. However, creating an object by reflection is an expensive operation. The System.Text.RegularExpressions.RegexRunnerFactory class improves the performance of the .NET Framework by providing the RegexRunnerFactory.CreateInstance method, which creates a System.Text.RegularExpressions.RegexRunner object for a specific compiled regular expression.


Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,