Build() public method

public Build ( ) : Endpoint
return Endpoint
Example #1
0
        public static Endpoint CreateEndpoint(Uri uri, Action<IEndpointBuilder> configure)
        {
            var builder = new EndpointBuilder(uri);

            configure(builder);

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

            configure(builder);

            return(builder.Build());
        }