Search Results for

    Show / Hide Table of Contents

    Class PriorityAverageWeighted

    Inheritance
    object
    MessagePriorityModelResultPriorityAggregator
    PriorityAverageWeighted
    Inherited Members
    MessagePriorityModelResultPriorityAggregator.MaxPriority
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class PriorityAverageWeighted : MessagePriorityModelResultPriorityAggregator

    Properties

    MaxWeight

    ModelResults are considered as long as their cumulative weight is at or below this value

    Declaration
    [JsonProperty("maxWeight", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    [Range(1, 2147483647)]
    public int MaxWeight { get; set; }
    Property Value
    int

    ModelWeights

    Weights to be used for model results (if they were produced). Results with undefined weights are ignored.

    Declaration
    [JsonProperty("modelWeights", Required = Required.Always)]
    [Required]
    public ICollection<PriorityAverageWeightedModelWeight> ModelWeights { get; set; }
    Property Value
    ICollection<PriorityAverageWeightedModelWeight>

    Methods

    FromJson(string)

    Declaration
    public static PriorityAverageWeighted FromJson(string data)
    Parameters
    string data

    Returns
    PriorityAverageWeighted

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX