AddPlacementDirector(IServiceCollection, ServiceLifetime)
staticextension
public static void AddPlacementDirector<TStrategy, TDirector>(this IServiceCollection services, ServiceLifetime strategyLifetime) Configures a
TDirector as the placement director for placement strategy TStrategy. Parameters
servicesIServiceCollection- The service collection.
strategyLifetimeServiceLifetime- The lifetime of the placement strategy.
Returns
The service collection.
