Edytuj

Udostępnij za pośrednictwem


ApplicationPartManagerCodeGenExtensions.WithCodeGeneration Method

Definition

Generates support code for the provided assembly and adds it to the builder.

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

Parameters

loggerFactory
ILoggerFactory

The optional logger factory, for outputting code generation diagnostics.

Returns

A builder with support parts added.

Applies to