/// <summary> /// Get a feature by name /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='name'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetFeatureByNameAsync(this IFeatureManagementAppTierAPI operations, string name, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetFeatureByNameWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }