BuildIt.CognitiveServices.AcademicSearchAPIExtensions.Evaluate C# (CSharp) Метод

Evaluate() публичный статический Метод

The evaluate REST API is used to return a set of academic entities based on a query expression.
public static Evaluate ( this operations, string expr, string model = "latest", double count = 10, double offset, string orderby = default(string), string attributes = "Id", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
expr string /// A query expression that specifies which entities should be returned. ///
model string /// Name of the model that you wish to query. Currently, the value defaults to /// "latest". /// . Possible values include: 'beta-2015', 'latest' ///
count double /// Number of results to return. ///
offset double /// Index of the first result to return. ///
orderby string /// Name of an attribute that is used for sorting the entities. Optionally, /// ascending/descending can be specified. The format is: name:asc or /// name:desc. ///
attributes string /// A comma delimited list that specifies the attribute values that are /// included in the response. Attribute names are case-sensitive. Possible /// values include: 'Id' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void
            public static void Evaluate(this IAcademicSearchAPI operations, string expr, string model = "latest", double? count = 10, double? offset = 0, string orderby = default(string), string attributes = "Id", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IAcademicSearchAPI)s).EvaluateAsync(expr, model, count, offset, orderby, attributes, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }