AssemblyBuilder.GenerateTypeFactory Method (String)

 

Inserts a fast object factory template for a type into the compiled assembly.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public void GenerateTypeFactory(
	string typeName
)

Parameters

typeName
Type: System.String

The name of the type to generate.

A BuildProvider implementation calls the GenerateTypeFactory method to optimize performance for frequent creations of type instances.

.NET Framework
Available since 2.0
Return to top
Show: