Наследование: IEndpointBuilder
Пример #1
0
        public static Endpoint CreateEndpoint(Uri uri, Action<IEndpointBuilder> configure)
        {
            var builder = new EndpointBuilder(uri);

            configure(builder);

            return builder.Build();
        }
Пример #2
0
        public static Endpoint CreateEndpoint(Uri uri, Action <IEndpointBuilder> configure)
        {
            var builder = new EndpointBuilder(uri);

            configure(builder);

            return(builder.Build());
        }