Example #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='version'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetVehiclePingHistoryAsync(this ITrackerEngineService operations, System.Guid id, string version, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetVehiclePingHistoryWithHttpMessagesAsync(id, version, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Example #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='version'>
 /// </param>
 /// <param name='vehiclePingViewModel'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ReceivePingAsync(this ITrackerEngineService operations, string version, VehiclePingViewModel vehiclePingViewModel = default(VehiclePingViewModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ReceivePingWithHttpMessagesAsync(version, vehiclePingViewModel, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Example #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='version'>
 /// </param>
 public static object GetVehiclePingHistory(this ITrackerEngineService operations, System.Guid id, string version)
 {
     return(operations.GetVehiclePingHistoryAsync(id, version).GetAwaiter().GetResult());
 }
Example #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='version'>
 /// </param>
 /// <param name='vehiclePingViewModel'>
 /// </param>
 public static void ReceivePing(this ITrackerEngineService operations, string version, VehiclePingViewModel vehiclePingViewModel = default(VehiclePingViewModel))
 {
     operations.ReceivePingAsync(version, vehiclePingViewModel).GetAwaiter().GetResult();
 }