Ejemplo n.º 1
0
 public static EndPoint GetEndPoint(this EndPoint[] endPoints, XchangeHttpOperation operation) => endPoints[(int)operation];
Ejemplo n.º 2
0
 private EndPoint GetExchangeEndPoint(Xchange exchange, XchangeHttpOperation routeKey)
 => _exchangeDescriptors[(int)exchange].EndPoints[(int)routeKey];
Ejemplo n.º 3
0
 public XchangeRequestObject RequestDictionary(Xchange exchange, XchangeHttpOperation routeKey, ObjectDictionary paramObjDict = default)
 => new XchangeRequestObject(_exchangeDescriptors[(int)exchange], GetExchangeEndPoint(exchange, routeKey), paramObjDict);
Ejemplo n.º 4
0
 //can both be put together, providing a string dictionary as function layout
 public string GetPublicEndPointUrl(Xchange exchange, XchangeHttpOperation route)
 => $"{GetExchangeEndPoint(exchange, route).Url}";