コード例 #1
0
 /// <summary>
 /// Generate token to view or edit the specified report
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The group id
 /// </param>
 /// <param name='reportId'>
 /// The report id
 /// </param>
 /// <param name='requestParameters'>
 /// Generate token parameters
 /// </param>
 public static EmbedToken GenerateToken(this IReportsOperations operations, Guid groupId, Guid reportId, GenerateTokenRequest requestParameters)
 {
     return(operations.GenerateTokenAsync(groupId, reportId, requestParameters).GetAwaiter().GetResult());
 }