RegexRunnerFactory RegexRunnerFactory RegexRunnerFactory RegexRunnerFactory Class


Creates a RegexRunner class for a compiled regular expression.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class RegexRunnerFactory abstract
public abstract class RegexRunnerFactory
type RegexRunnerFactory = class
Public MustInherit Class RegexRunnerFactory


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.


RegexRunnerFactory() RegexRunnerFactory() RegexRunnerFactory() RegexRunnerFactory()

Initializes a new instance of the RegexRunnerFactory class.


CreateInstance() CreateInstance() CreateInstance() CreateInstance()

When overridden in a derived class, creates a RegexRunner object for a specific compiled regular expression.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to