This API supports the .NET Framework 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)
Thetype exposes the following members.
|CreateInstance||Infrastructure. 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||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|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 class improves the performance of the .NET Framework by providing the CreateInstance method, which creates a RegexRunner object for a specific compiled regular expression.