AssemblyBuilder.GenerateTypeFactory(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a fast object factory template for a type into the compiled assembly.
public:
void GenerateTypeFactory(System::String ^ typeName);
public void GenerateTypeFactory (string typeName);
member this.GenerateTypeFactory : string -> unit
Public Sub GenerateTypeFactory (typeName As String)
Parameters
- typeName
- String
The name of the type to generate.
Remarks
A BuildProvider implementation calls the GenerateTypeFactory method to optimize performance for frequent creations of type instances.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.