/// <summary>
        /// Initializes a new instance of the <see cref="RedirectableEndPointResolver"/> class.
        /// </summary>
        /// <param name="backendConfigurator">The backend configurator to use to retrieve the information from.</param>
        public RedirectableEndPointResolver(IBackendConfigurator backendConfigurator)
            : this()
        {
            Assertions.AssertNotNull(backendConfigurator, "backendConfigurator");

            _endPoint = backendConfigurator.Get("ServerHostAddress");
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="RedirectableEndPointResolver"/> class.
        /// </summary>
        /// <param name="backendConfigurator">The backend configurator to use to retrieve the information from.</param>
        public RedirectableEndPointResolver(IBackendConfigurator backendConfigurator)
            : this()
        {
            Assertions.AssertNotNull(backendConfigurator, "backendConfigurator");

            _endPoint = backendConfigurator.Get("ServerHostAddress");
        }
            string IBackendConfigurator.Get(string key)
            {
                switch (key)
                {
                case "Wcf.ServiceLocations": return(Path.Combine(_targetDirectory, "Backend.Services.config"));

                default: return(_original.Get(key));
                }
            }