/// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void GetPathLocalValid(this IApiVersionLocalOperations operations)
 {
     operations.GetPathLocalValidAsync().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// null to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// This should appear as a method parameter, use value null, this should
 /// result in no serialized parameter
 /// </param>
 public static void GetMethodLocalNull(this IApiVersionLocalOperations operations, string apiVersion = default(string))
 {
     operations.GetMethodLocalNullAsync(apiVersion).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// null to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// This should appear as a method parameter, use value null, this should
 /// result in no serialized parameter
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task GetMethodLocalNullAsync(this IApiVersionLocalOperations operations, string apiVersion = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.GetMethodLocalNullWithHttpMessagesAsync(apiVersion, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// null to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// This should appear as a method parameter, use value null, this should
 /// result in no serialized parameter
 /// </param>
 public static void GetMethodLocalNull(this IApiVersionLocalOperations operations, string apiVersion = default(string))
 {
     Task.Factory.StartNew(s => ((IApiVersionLocalOperations)s).GetMethodLocalNullAsync(apiVersion), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task GetSwaggerLocalValidAsync(this IApiVersionLocalOperations operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.GetSwaggerLocalValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// This should appear as a method parameter, use value '2.0'. Possible values
 /// for this parameter include: '2.0'
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task GetMethodLocalValidAsync(this IApiVersionLocalOperations operations, string apiVersion, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.GetMethodLocalValidWithHttpMessagesAsync(apiVersion, null, cancellationToken).ConfigureAwait(false);
 }
예제 #7
0
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void GetPathLocalValid(this IApiVersionLocalOperations operations)
 {
     System.Threading.Tasks.Task.Factory.StartNew(s => ((IApiVersionLocalOperations)s).GetPathLocalValidAsync(), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
예제 #8
0
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// null to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// This should appear as a method parameter, use value null, this should
 /// result in no serialized parameter
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task GetMethodLocalNullAsync(this IApiVersionLocalOperations operations, string apiVersion = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.GetMethodLocalNullWithHttpMessagesAsync(apiVersion, null, cancellationToken).ConfigureAwait(false);
 }
예제 #9
0
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task GetSwaggerLocalValidAsync(this IApiVersionLocalOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.GetSwaggerLocalValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }
 /// <summary>
 /// Get method with api-version modeled in the method.  pass in api-version =
 /// '2.0' to succeed
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void GetSwaggerLocalValid(this IApiVersionLocalOperations operations)
 {
     Task.Factory.StartNew(s => ((IApiVersionLocalOperations)s).GetSwaggerLocalValidAsync(), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }