SiloHostBuilderExtensions.ConfigureApplicationParts 方法

定义

ApplicationPartManager配置使用给定Action<T>的 。

public static Orleans.Hosting.ISiloHostBuilder ConfigureApplicationParts (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.ApplicationParts.IApplicationPartManager> configure);
static member ConfigureApplicationParts : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.ApplicationParts.IApplicationPartManager> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureApplicationParts (builder As ISiloHostBuilder, configure As Action(Of IApplicationPartManager)) As ISiloHostBuilder

参数

builder
ISiloHostBuilder

生成器。

configure
Action<IApplicationPartManager>

配置委托。

返回

生成器。

适用于