示例#1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='value'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <Doc> PostDataAsync(this ITranscriptDocumentGenerator operations, Doc value = default(Doc), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PostDataWithHttpMessagesAsync(value, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='value'>
 /// </param>
 public static void ApiDocumentByIdPut(this ITranscriptDocumentGenerator operations, System.Guid id, Para value = default(Para))
 {
     System.Threading.Tasks.Task.Factory.StartNew(s => ((ITranscriptDocumentGenerator)s).ApiDocumentByIdPutAsync(id, value), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
示例#3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task ApiDocumentByIdGetAsync(this ITranscriptDocumentGenerator operations, System.Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.ApiDocumentByIdGetWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false);
 }
示例#4
0
 /// <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 <System.Collections.Generic.IList <Doc> > ApiDocumentGetAsync(this ITranscriptDocumentGenerator operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.ApiDocumentGetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#5
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='value'>
 /// </param>
 public static Doc PostData(this ITranscriptDocumentGenerator operations, Doc value = default(Doc))
 {
     return(System.Threading.Tasks.Task.Factory.StartNew(s => ((ITranscriptDocumentGenerator)s).PostDataAsync(value), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult());
 }
示例#6
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 public static void ApiValuesByIdDelete(this ITranscriptDocumentGenerator operations, int id)
 {
     System.Threading.Tasks.Task.Factory.StartNew(s => ((ITranscriptDocumentGenerator)s).ApiValuesByIdDeleteAsync(id), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
示例#7
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='value'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task ApiValuesByIdPutAsync(this ITranscriptDocumentGenerator operations, int id, string value = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.ApiValuesByIdPutWithHttpMessagesAsync(id, value, null, cancellationToken).ConfigureAwait(false);
 }
示例#8
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <string> ApiValuesByIdGetAsync(this ITranscriptDocumentGenerator operations, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.ApiValuesByIdGetWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#9
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static System.Collections.Generic.IList <Doc> ApiDocumentGet(this ITranscriptDocumentGenerator operations)
 {
     return(System.Threading.Tasks.Task.Factory.StartNew(s => ((ITranscriptDocumentGenerator)s).ApiDocumentGetAsync(), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult());
 }
示例#10
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='value'>
 /// </param>
 public static void ApiValuesPost(this ITranscriptDocumentGenerator operations, string value = default(string))
 {
     System.Threading.Tasks.Task.Factory.StartNew(s => ((ITranscriptDocumentGenerator)s).ApiValuesPostAsync(value), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }