/// <summary>
 ///
 /// </summary>
 /// <param name="redmineManager"></param>
 /// <param name="projectId"></param>
 /// <param name="pageName"></param>
 /// <param name="wikiPage"></param>
 /// <returns></returns>
 public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId,
                                        string pageName, WikiPage wikiPage)
 {
     return(delegate { redmineManager.UpdateWikiPage(projectId, pageName, wikiPage); });
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="redmineManager"></param>
 /// <param name="projectId"></param>
 /// <param name="pageName"></param>
 /// <param name="wikiPage"></param>
 /// <returns></returns>
 public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage)
 {
     return(Task.Factory.StartNew(() => redmineManager.UpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default));
 }