public PlacementDirectorsManager( IServiceProvider services, DefaultPlacementStrategy defaultPlacementStrategy, ClientObserversPlacementDirector clientObserversPlacementDirector) { this.serviceProvider = services; this.defaultPlacementStrategy = defaultPlacementStrategy.PlacementStrategy; this.clientObserversPlacementDirector = clientObserversPlacementDirector; this.ResolveBuiltInStrategies(); }
public PlacementDirectorsManager( IServiceProvider services, PlacementStrategy defaultPlacementStrategy, ClientObserversPlacementDirector clientObserversPlacementDirector) { this.serviceProvider = services; this.defaultPlacementStrategy = defaultPlacementStrategy; this.clientObserversPlacementDirector = clientObserversPlacementDirector; this.ResolveBuiltInStrategies(); // TODO: Make default selector configurable this.defaultActivationSelector = ResolveSelector(RandomPlacement.Singleton, true); }