Share via


ScorableGroupAttribute Class

Definition

This attribute is used to control scorable groups for DispatchDialog<TResult>.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class ScorableGroupAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type ScorableGroupAttribute = class
    inherit Attribute
Public Class ScorableGroupAttribute
Inherits Attribute
Inheritance
ScorableGroupAttribute
Attributes

Remarks

ScorableGroupAttribute allows the user to override the scoring process to create ordered scorable groups, where the scores from the first scorable group are compared first, and if there is no scorable that wishes to participate from the first scorable group, then the second scorable group is considered, and so forth.

Constructors

ScorableGroupAttribute(Int32)

Construct the ScorableGroupAttribute.

Properties

Order

The scorable group order.

Applies to