Example #1
0
        public ListServiceOfferingsResponse ListServiceOfferings(ListServiceOfferingsRequest request)
        {
            var command = new ListServiceOfferings(_apiKey, _secret, _baseUri, _authenticator, _builder)
            {
                Parameters = request
            };

            return((ListServiceOfferingsResponse)((ICommandExecutor)this).Execute(command));
        }
Example #2
0
 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);
     }
 }
Example #3
0
 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);
     }
 }
Example #4
0
 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);
     }
 }