Exemplo n.º 1
0
        public ListServiceOfferingsResponse ListServiceOfferings(ListServiceOfferingsRequest request)
        {
            var command = new ListServiceOfferings(_apiKey, _secret, _baseUri, _authenticator, _builder)
            {
                Parameters = request
            };

            return((ListServiceOfferingsResponse)((ICommandExecutor)this).Execute(command));
        }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }