ScorableGroupAttribute 类

定义

此属性用于控制 的 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
继承
ScorableGroupAttribute
属性

注解

ScorableGroupAttribute 允许用户重写评分过程以创建有序的可评分组,其中第一个可评分组的分数首先进行比较,如果没有希望从第一个可评分组参与的可评分组,则考虑第二个可评分组,依此类推。

构造函数

ScorableGroupAttribute(Int32)

ScorableGroupAttribute构造 。

属性

Order

可评分组顺序。

适用于