语言

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

可评分的组顺序。

适用于