BuildIt.CognitiveServices.AcademicSearchAPIExtensions.CalcHistogramAsync C# (CSharp) Method

CalcHistogramAsync() public static method

The calchistogram REST API is used to calculate the distribution of attribute values for a set of paper entities.
public static CalcHistogramAsync ( this operations, string expr, string model = "latest", string attributes = default(string), double count = 10, double offset, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
expr string /// A query expression that specifies the entities over which to calculate /// histograms. ///
model string /// Name of the model that you wish to query. Currently, the value defaults to /// "latest". /// . Possible values include: 'beta-2015', 'latest' ///
attributes string /// A comma delimited list that specifies the attribute values that are /// included in the response. Attribute names are case-sensitive. ///
count double /// Number of results to return. ///
offset double /// Index of the first result to return. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task CalcHistogramAsync(this IAcademicSearchAPI operations, string expr, string model = "latest", string attributes = default(string), double? count = 10, double? offset = 0, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.CalcHistogramWithHttpMessagesAsync(expr, model, attributes, count, offset, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }