AssemblyBuilder.GenerateTypeFactory(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Insère un modèle de fabrique d’objets rapide pour un type dans l’assembly compilé.
public:
void GenerateTypeFactory(System::String ^ typeName);
public void GenerateTypeFactory(string typeName);
member this.GenerateTypeFactory : string -> unit
Public Sub GenerateTypeFactory (typeName As String)
Paramètres
- typeName
- String
Nom du type à générer.
Remarques
Une BuildProvider implémentation appelle la méthode pour optimiser les GenerateTypeFactory performances pour les créations fréquentes d’instances de type.