public static ISiloHostBuilder UseOrleankka(this ISiloHostBuilder builder, OrleankkaClusterOptions cfg) =>
 builder
 .ConfigureServices(services => cfg.Configure(builder, services))
 .ConfigureApplicationParts(apm => apm
                            .AddApplicationPart(typeof(IClientEndpoint).Assembly)
                            .WithCodeGeneration());
Exemple #2
0
 static void UseOrleankka(IApplicationPartManager apm, IServiceCollection services, OrleankkaClusterOptions cfg)
 {
     cfg.Configure(apm, services);
     apm.AddApplicationPart(typeof(IClientEndpoint).Assembly).WithCodeGeneration();
 }