PlacementStrategyExtensions.AddPlacementDirector メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddPlacementDirector<TStrategy,TDirector>(IServiceCollection) |
配置戦略 |
AddPlacementDirector<TStrategy,TDirector>(ISiloBuilder) |
配置戦略 |
AddPlacementDirector<TStrategy,TDirector>(ISiloHostBuilder) |
配置戦略 |
AddPlacementDirector<TStrategy,TDirector>(IServiceCollection, ServiceLifetime) |
配置戦略 |
AddPlacementDirector<TStrategy>(IServiceCollection, Func<IServiceProvider,IPlacementDirector>) |
配置ディレクターを追加します。 |
AddPlacementDirector<TStrategy>(ISiloBuilder, Func<IServiceProvider,IPlacementDirector>) |
配置ディレクターを追加します。 |
AddPlacementDirector<TStrategy>(ISiloHostBuilder, Func<IServiceProvider,IPlacementDirector>) |
配置ディレクターを追加します。 |
AddPlacementDirector<TStrategy>(IServiceCollection, Func<IServiceProvider,IPlacementDirector>, ServiceLifetime) |
配置ディレクターを追加します。 |
AddPlacementDirector<TStrategy,TDirector>(IServiceCollection)
配置戦略TStrategy
のTDirector
配置ディレクターとして を構成します。
public static void AddPlacementDirector<TStrategy,TDirector> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TStrategy : Orleans.Runtime.PlacementStrategy, new() where TDirector : class, Orleans.Runtime.Placement.IPlacementDirector;
static member AddPlacementDirector : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy) and 'Director : null and 'Director :> Orleans.Runtime.Placement.IPlacementDirector)
<Extension()>
Public Sub AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}, TDirector As {PlacementStrategyNew}) (services As IServiceCollection)
型パラメーター
- TStrategy
配置戦略。
- TDirector
配置ディレクター。
パラメーター
- services
- IServiceCollection
サービス コレクション。
適用対象
AddPlacementDirector<TStrategy,TDirector>(ISiloBuilder)
配置戦略TStrategy
のTDirector
配置ディレクターとして を構成します。
public static Orleans.Hosting.ISiloBuilder AddPlacementDirector<TStrategy,TDirector> (this Orleans.Hosting.ISiloBuilder builder) where TStrategy : Orleans.Runtime.PlacementStrategy where TDirector : class, Orleans.Runtime.Placement.IPlacementDirector;
public static Orleans.Hosting.ISiloBuilder AddPlacementDirector<TStrategy,TDirector> (this Orleans.Hosting.ISiloBuilder builder) where TStrategy : Orleans.Runtime.PlacementStrategy, new() where TDirector : class, Orleans.Runtime.Placement.IPlacementDirector;
static member AddPlacementDirector : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Director : null and 'Director :> Orleans.Runtime.Placement.IPlacementDirector)
static member AddPlacementDirector : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy) and 'Director : null and 'Director :> Orleans.Runtime.Placement.IPlacementDirector)
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As PlacementStrategy, TDirector As PlacementStrategy) (builder As ISiloBuilder) As ISiloBuilder
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}, TDirector As {PlacementStrategyNew}) (builder As ISiloBuilder) As ISiloBuilder
型パラメーター
- TStrategy
配置戦略。
- TDirector
配置ディレクター。
パラメーター
- builder
- ISiloBuilder
ビルダー。
戻り値
ビルダー。
適用対象
AddPlacementDirector<TStrategy,TDirector>(ISiloHostBuilder)
配置戦略TStrategy
のTDirector
配置ディレクターとして を構成します。
public static Orleans.Hosting.ISiloHostBuilder AddPlacementDirector<TStrategy,TDirector> (this Orleans.Hosting.ISiloHostBuilder builder) where TStrategy : Orleans.Runtime.PlacementStrategy where TDirector : class, Orleans.Runtime.Placement.IPlacementDirector;
static member AddPlacementDirector : Orleans.Hosting.ISiloHostBuilder -> Orleans.Hosting.ISiloHostBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Director : null and 'Director :> Orleans.Runtime.Placement.IPlacementDirector)
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As PlacementStrategy, TDirector As PlacementStrategy) (builder As ISiloHostBuilder) As ISiloHostBuilder
型パラメーター
- TStrategy
配置戦略。
- TDirector
配置ディレクター。
パラメーター
- builder
- ISiloHostBuilder
ビルダー。
戻り値
ビルダー。
適用対象
AddPlacementDirector<TStrategy,TDirector>(IServiceCollection, ServiceLifetime)
配置戦略TStrategy
のTDirector
配置ディレクターとして を構成します。
public static void AddPlacementDirector<TStrategy,TDirector> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.DependencyInjection.ServiceLifetime strategyLifetime) where TStrategy : Orleans.Runtime.PlacementStrategy, new() where TDirector : class, Orleans.Runtime.Placement.IPlacementDirector;
static member AddPlacementDirector : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.DependencyInjection.ServiceLifetime -> unit (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy) and 'Director : null and 'Director :> Orleans.Runtime.Placement.IPlacementDirector)
<Extension()>
Public Sub AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}, TDirector As {PlacementStrategyNew}) (services As IServiceCollection, strategyLifetime As ServiceLifetime)
型パラメーター
- TStrategy
配置戦略。
- TDirector
配置ディレクター。
パラメーター
- services
- IServiceCollection
サービス コレクション。
- strategyLifetime
- ServiceLifetime
配置戦略の有効期間。
適用対象
AddPlacementDirector<TStrategy>(IServiceCollection, Func<IServiceProvider,IPlacementDirector>)
配置ディレクターを追加します。
public static void AddPlacementDirector<TStrategy> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Func<IServiceProvider,Orleans.Runtime.Placement.IPlacementDirector> createDirector) where TStrategy : Orleans.Runtime.PlacementStrategy, new();
static member AddPlacementDirector : Microsoft.Extensions.DependencyInjection.IServiceCollection * Func<IServiceProvider, Orleans.Runtime.Placement.IPlacementDirector> -> unit (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy))
<Extension()>
Public Sub AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}) (services As IServiceCollection, createDirector As Func(Of IServiceProvider, IPlacementDirector))
型パラメーター
- TStrategy
配置戦略。
パラメーター
- services
- IServiceCollection
サービス コレクション。
- createDirector
- Func<IServiceProvider,IPlacementDirector>
配置ディレクターの作成に使用されるデリゲート。
適用対象
AddPlacementDirector<TStrategy>(ISiloBuilder, Func<IServiceProvider,IPlacementDirector>)
配置ディレクターを追加します。
public static Orleans.Hosting.ISiloBuilder AddPlacementDirector<TStrategy> (this Orleans.Hosting.ISiloBuilder builder, Func<IServiceProvider,Orleans.Runtime.Placement.IPlacementDirector> createDirector) where TStrategy : Orleans.Runtime.PlacementStrategy;
public static Orleans.Hosting.ISiloBuilder AddPlacementDirector<TStrategy> (this Orleans.Hosting.ISiloBuilder builder, Func<IServiceProvider,Orleans.Runtime.Placement.IPlacementDirector> createDirector) where TStrategy : Orleans.Runtime.PlacementStrategy, new();
static member AddPlacementDirector : Orleans.Hosting.ISiloBuilder * Func<IServiceProvider, Orleans.Runtime.Placement.IPlacementDirector> -> Orleans.Hosting.ISiloBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy)
static member AddPlacementDirector : Orleans.Hosting.ISiloBuilder * Func<IServiceProvider, Orleans.Runtime.Placement.IPlacementDirector> -> Orleans.Hosting.ISiloBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy))
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As PlacementStrategy) (builder As ISiloBuilder, createDirector As Func(Of IServiceProvider, IPlacementDirector)) As ISiloBuilder
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}) (builder As ISiloBuilder, createDirector As Func(Of IServiceProvider, IPlacementDirector)) As ISiloBuilder
型パラメーター
- TStrategy
配置戦略。
パラメーター
- builder
- ISiloBuilder
ビルダー。
- createDirector
- Func<IServiceProvider,IPlacementDirector>
配置ディレクターの作成に使用されるデリゲート。
戻り値
ビルダー。
適用対象
AddPlacementDirector<TStrategy>(ISiloHostBuilder, Func<IServiceProvider,IPlacementDirector>)
配置ディレクターを追加します。
public static Orleans.Hosting.ISiloHostBuilder AddPlacementDirector<TStrategy> (this Orleans.Hosting.ISiloHostBuilder builder, Func<IServiceProvider,Orleans.Runtime.Placement.IPlacementDirector> createDirector) where TStrategy : Orleans.Runtime.PlacementStrategy;
static member AddPlacementDirector : Orleans.Hosting.ISiloHostBuilder * Func<IServiceProvider, Orleans.Runtime.Placement.IPlacementDirector> -> Orleans.Hosting.ISiloHostBuilder (requires 'Strategy :> Orleans.Runtime.PlacementStrategy)
<Extension()>
Public Function AddPlacementDirector(Of TStrategy As PlacementStrategy) (builder As ISiloHostBuilder, createDirector As Func(Of IServiceProvider, IPlacementDirector)) As ISiloHostBuilder
型パラメーター
- TStrategy
配置戦略。
パラメーター
- builder
- ISiloHostBuilder
ビルダー。
- createDirector
- Func<IServiceProvider,IPlacementDirector>
配置ディレクターの作成に使用されるデリゲート。
戻り値
ビルダー。
適用対象
AddPlacementDirector<TStrategy>(IServiceCollection, Func<IServiceProvider,IPlacementDirector>, ServiceLifetime)
配置ディレクターを追加します。
public static void AddPlacementDirector<TStrategy> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Func<IServiceProvider,Orleans.Runtime.Placement.IPlacementDirector> createDirector, Microsoft.Extensions.DependencyInjection.ServiceLifetime strategyLifetime) where TStrategy : Orleans.Runtime.PlacementStrategy, new();
static member AddPlacementDirector : Microsoft.Extensions.DependencyInjection.IServiceCollection * Func<IServiceProvider, Orleans.Runtime.Placement.IPlacementDirector> * Microsoft.Extensions.DependencyInjection.ServiceLifetime -> unit (requires 'Strategy :> Orleans.Runtime.PlacementStrategy and 'Strategy : (new : unit -> 'Strategy))
<Extension()>
Public Sub AddPlacementDirector(Of TStrategy As {PlacementStrategyNew}) (services As IServiceCollection, createDirector As Func(Of IServiceProvider, IPlacementDirector), strategyLifetime As ServiceLifetime)
型パラメーター
- TStrategy
配置戦略。
パラメーター
- services
- IServiceCollection
サービス コレクション。
- createDirector
- Func<IServiceProvider,IPlacementDirector>
配置ディレクターの作成に使用されるデリゲート。
- strategyLifetime
- ServiceLifetime
配置戦略の有効期間。