Beispiel #1
0
 /// <summary>
 /// Sets the option value (either passed as a constant
 /// reference on construction, or obtained via a callback) in the <paramref name="targets"/> target container.
 ///
 /// This is used as the implementation of <see cref="ITargetContainerConfig.Configure(IRootTargetContainer)"/>.
 /// </summary>
 /// <param name="targets">The target container into which the option is to be set.</param>
 public void ConfigureOption(ITargetContainer targets)
 {
     targets.SetOption(OptionFactory(targets, ServiceType), ServiceType);
 }