/// <summary>
 /// Return information about the provisioning profile. Only available for iOS.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='releaseId'>
 /// The release_id
 /// </param>
 /// <param name='ownerName'>
 /// The name of the owner
 /// </param>
 /// <param name='appName'>
 /// The name of the application
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> ProfileAsync(this IProvisioning operations, int releaseId, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ProfileWithHttpMessagesAsync(releaseId, ownerName, appName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#2
0
 public HomeController(IValidator validator, IProvisioning provisioning)
 {
     _validator    = validator;
     _provisioning = provisioning;
 }
 /// <summary>
 /// Return information about the provisioning profile. Only available for iOS.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='releaseId'>
 /// The release_id
 /// </param>
 /// <param name='ownerName'>
 /// The name of the owner
 /// </param>
 /// <param name='appName'>
 /// The name of the application
 /// </param>
 public static object Profile(this IProvisioning operations, int releaseId, string ownerName, string appName)
 {
     return(operations.ProfileAsync(releaseId, ownerName, appName).GetAwaiter().GetResult());
 }