/// <summary>Exposes a method to define how base <see cref="Uri"/>s are selected for relavitve <see cref="EntityId"/>s.</summary>
        public EntityContextFactory WithBaseUri(Action <BaseUriSelectorBuilder> setupPolicy)
        {
            var builder = new BaseUriSelectorBuilder();

            setupPolicy(builder);
            _container.RegisterInstance(builder.Build());
            return(this);
        }
 /// <summary>Exposes a method to define how base <see cref="Uri"/>s are selected for relavitve <see cref="EntityId"/>s.</summary>
 public EntityContextFactory WithBaseUri(Action<BaseUriSelectorBuilder> setupPolicy)
 {
     var builder = new BaseUriSelectorBuilder();
     setupPolicy(builder);
     _baseUriSelector = builder.Build();
     return this;
 }
 internal DefaultUriBuilder(BaseUriSelectorBuilder baseUriSelectorBuilder)
 {
     _baseUriSelectorBuilder = baseUriSelectorBuilder;
 }
 internal DefaultUriBuilder(BaseUriSelectorBuilder baseUriSelectorBuilder)
 {
     _baseUriSelectorBuilder = baseUriSelectorBuilder;
 }