/// <summary>
 /// Initializes a new instance of the <see cref="GenericStrategyProvider{TStrategy, TCriterion}"/> class.
 /// </summary>
 /// <param name="strategyLocator">The <see cref="IStrategyLocator{TStrategy}"/> which can locate the strategies of which the responsible on is provided.</param>
 public GenericStrategyProvider(IStrategyLocator <TStrategy> strategyLocator)
 {
     this.strategyLocator = strategyLocator ?? throw new ArgumentNullException(nameof(strategyLocator));
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GenericCopyStrategyProvider{TStrategy, TCriterion}"/> class.
 /// </summary>
 public GenericCopyStrategyProvider(IStrategyLocator <TStrategy> strategyLocator)
     : base(strategyLocator)
 {
 }