RegexRunnerFactory Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Creates a RegexRunner class for a compiled regular expression.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | RegexRunnerFactory() | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RegexRunnerFactory class. |
| Name | Description | |
|---|---|---|
![]() | CreateInstance() | This API supports the product infrastructure and is not intended to be used directly from your code. When overridden in a derived class, creates a RegexRunner object for a specific compiled regular expression. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
A 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 RegexRunnerFactory class improves the performance of the .NET Framework by providing the CreateInstance method, which creates a RegexRunner object for a specific compiled regular expression.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

