Ejemplo n.º 1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='copiedJson'>
 /// </param>
 /// <param name='lang'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <bool?> CopySessionAsync(this ISessionApi operations, LMSApplicationCoreCommandsCopySessionCommand copiedJson, string lang, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CopySessionWithHttpMessagesAsync(copiedJson, lang, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='copiedJson'>
 /// </param>
 /// <param name='lang'>
 /// </param>
 public static bool?CopySession(this ISessionApi operations, LMSApplicationCoreCommandsCopySessionCommand copiedJson, string lang)
 {
     return(operations.CopySessionAsync(copiedJson, lang).GetAwaiter().GetResult());
 }