ScorableGroupAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该属性用于控制 的 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 允许用户覆盖评分过程,创建有序的可评分组,先比较第一个可评分组的分数,如果第一个可评分组没有愿意参与的评分组,则考虑第二个可评分组,依此类推。