public ListServiceOfferingsResponse ListServiceOfferings(ListServiceOfferingsRequest request) { var command = new ListServiceOfferings(_apiKey, _secret, _baseUri, _authenticator, _builder) { Parameters = request }; return((ListServiceOfferingsResponse)((ICommandExecutor)this).Execute(command)); }
internal void ListServiceOfferings() { try { ListServiceOfferingsRequest request = new ListServiceOfferingsRequest(); var result = _client.ListServiceOfferings(request); _logWriter(result.ToString()); } catch (System.Exception ex) { _logWriter("Error listing service offerings: " + ex.Message); } }
internal void ListServiceOfferings() { Client session = new Client(serviceUri, apiKey, secretKey); try { ListServiceOfferingsRequest request = new ListServiceOfferingsRequest(); var result = session.ListServiceOfferings(request); logWriter(result.ToString()); } catch (System.Exception ex) { logWriter("Error listing service offerings: " + ex.Message); } }