/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='submitHandOutCommand'> /// </param> /// <param name='lang'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> SubmitHandOutActivityAsync(this IOfficeAddInApi operations, LMSApplicationCoreCommandsOfficeAddInOfficeAddInSubmitHandOutCommand submitHandOutCommand, string lang, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.SubmitHandOutActivityWithHttpMessagesAsync(submitHandOutCommand, lang, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='submitHandOutCommand'> /// </param> /// <param name='lang'> /// </param> public static object SubmitHandOutActivity(this IOfficeAddInApi operations, LMSApplicationCoreCommandsOfficeAddInOfficeAddInSubmitHandOutCommand submitHandOutCommand, string lang) { return(operations.SubmitHandOutActivityAsync(submitHandOutCommand, lang).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <LMSApplicationCoreViewModelOfficeAddInSettingsViewModel> OfficeAddinSettingsAsync(this IOfficeAddInApi operations, string lang, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.OfficeAddinSettingsWithHttpMessagesAsync(lang, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> public static LMSApplicationCoreViewModelOfficeAddInSettingsViewModel OfficeAddinSettings(this IOfficeAddInApi operations, string lang) { return(operations.OfficeAddinSettingsAsync(lang).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='officeAddInCommand'> /// </param> /// <param name='lang'> /// </param> public static object AddActivity(this IOfficeAddInApi operations, LMSApplicationCoreCommandsOfficeAddInCommand officeAddInCommand, string lang) { return(operations.AddActivityAsync(officeAddInCommand, lang).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='courseId'> /// </param> /// <param name='requestDate'> /// </param> /// <param name='lang'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <LMSApplicationCoreViewModelOfficeAddInOfficeAddInActivityViewModel> > GetUnTakenHandOutActivitiesAsync(this IOfficeAddInApi operations, int courseId, string requestDate, string lang, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetUnTakenHandOutActivitiesWithHttpMessagesAsync(courseId, requestDate, lang, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='courseId'> /// </param> /// <param name='requestDate'> /// </param> /// <param name='lang'> /// </param> public static IList <LMSApplicationCoreViewModelOfficeAddInOfficeAddInActivityViewModel> GetUnTakenHandOutActivities(this IOfficeAddInApi operations, int courseId, string requestDate, string lang) { return(operations.GetUnTakenHandOutActivitiesAsync(courseId, requestDate, lang).GetAwaiter().GetResult()); }