Partilhar via


ApplicationPartManagerCodeGenExtensions.WithCodeGeneration Método

Definição

Gera o código de suporte para o assembly fornecido e o adiciona ao construtor.

public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies WithCodeGeneration (this Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies manager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory = default);
static member WithCodeGeneration : Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function WithCodeGeneration (manager As IApplicationPartManagerWithAssemblies, Optional loggerFactory As ILoggerFactory = Nothing) As IApplicationPartManagerWithAssemblies

Parâmetros

loggerFactory
ILoggerFactory

A fábrica de agentes opcional, para gerar diagnósticos de geração de código.

Retornos

Um construtor com partes de suporte adicionadas.

Aplica-se a