Upraviť

Zdieľať cez


RegexRunnerFactory Class

Definition

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
Inheritance
RegexRunnerFactory

Remarks

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.

Constructors

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.

Methods

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)
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)

Applies to