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)
배치 TDirector
전략 에 대한 배치 디렉터로 을 구성합니다 TStrategy
.
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)
배치 TDirector
전략 에 대한 배치 디렉터로 을 구성합니다 TStrategy
.
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)
배치 TDirector
전략 에 대한 배치 디렉터로 을 구성합니다 TStrategy
.
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)
배치 TDirector
전략 에 대한 배치 디렉터로 을 구성합니다 TStrategy
.
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
배치 전략의 수명입니다.