/// <summary>
 /// Инициализирует новый экземпляр класса <see cref="AppConfigConfigurator"/>.
 /// </summary>
 /// <param name="endpointsConfig">
 /// The endpoints config.
 /// </param>
 /// <param name="dependencyResolverFunc">
 /// The dependency resolver func.
 /// </param>
 internal AppConfigConfigurator(EndpointsSection endpointsConfig, DependencyResolverFunc dependencyResolverFunc)
     : this(endpointsConfig, new LambdaDependencyResolver(dependencyResolverFunc))
 {
 }
 /// <summary>
 /// Инициализирует новый экземпляр класса <see cref="AppConfigConfigurator"/>.
 /// </summary>
 /// <param name="endpointsConfig">
 /// The endpoints config.
 /// </param>
 /// <param name="dependencyResolver">
 /// The dependency resolver.
 /// </param>
 internal AppConfigConfigurator(EndpointsSection endpointsConfig, IDependencyResolver dependencyResolver)
 {
     this.endpointsConfig    = endpointsConfig;
     this.dependencyResolver = dependencyResolver;
 }