SiloMemoryStreamConfigurator<TSerializer> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>)
初始化 SiloMemoryStreamConfigurator<TSerializer> 類別的新執行個體。
public SiloMemoryStreamConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureServicesDelegate);
new Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> -> Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (name As String, configureServicesDelegate As Action(Of Action(Of IServiceCollection)))
參數
- name
- String
資料流程提供者名稱。
- configureServicesDelegate
- Action<Action<IServiceCollection>>
服務組態委派。
適用於
SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)
public SiloMemoryStreamConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureServicesDelegate, Action<Action<Orleans.ApplicationParts.IApplicationPartManager>> configureAppPartsDelegate);
new Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> * Action<Action<Orleans.ApplicationParts.IApplicationPartManager>> -> Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (name As String, configureServicesDelegate As Action(Of Action(Of IServiceCollection)), configureAppPartsDelegate As Action(Of Action(Of IApplicationPartManager)))
參數
- name
- String
- configureServicesDelegate
- Action<Action<IServiceCollection>>
- configureAppPartsDelegate
- Action<Action<IApplicationPartManager>>