語言

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 允許使用者覆蓋計分過程,建立有序的可評分群組,先比較第一組的分數,若第一組無人願意參與,則考慮第二組,依此類推。

建構函式

名稱 Description
ScorableGroupAttribute(Int32)

構造 ScorableGroupAttribute。

屬性

名稱 Description
Order

可評分的團體順序。

適用於