System.Text.RegularExpressions.Regex.CompileToAssembly Method

Compiles one or more specified System.Text.RegularExpressions.Regex objects to a named assembly.

Syntax

[System.MonoTODO]
public static void CompileToAssembly (RegexCompilationInfo[] regexes, System.Reflection.AssemblyName aname)

Parameters

regexes
Documentation for this section has not yet been entered.
aname
Documentation for this section has not yet been entered.

Remarks

The Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method generates a .NET Framework assembly in which each regular expression defined in the regexinfos array is represented by a class. Typically, the Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method is called from a separate application that generates an assembly of compiled regular expressions. Each regular expression included in the assembly has the following characteristics:

Ordinarily, the code that instantiates and uses the compiled regular expression is found in an assembly or application that is separate from the code that creates the assembly.

Requirements

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