예제 #1
0
 public static string BuildEndpointUri(this NamedService service,
                                       string endpointName,
                                       EndpointScheme scheme = EndpointScheme.HTTP)
 {
     return(BuildEndpointUri(service, endpointName, HttpServiceUriTarget.Any, null, scheme.ToString()));
 }
예제 #2
0
 public static string BuildEndpointUri(this NamedService service,
                                       string endpointName,
                                       HttpServiceUriTarget target,
                                       long partitionKey,
                                       EndpointScheme scheme = EndpointScheme.HTTP)
 {
     return(BuildEndpointUri(service, endpointName, target, new ServicePartitionKey(partitionKey), scheme.ToString()));
 }