C# Class BF2Statistics.ASP.StatsProcessor.AwardCriteria

The award criteria struct is used to define the query details used when determining if a player has met the requirements to earn an award. This object is used by the "BackendAward" object.
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Свойство Type Description
ExpectedResult int
Field string
Table string
Where string

Méthodes publiques

Méthode Description
AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )

Constructor.

Method Details

AwardCriteria() public méthode

Constructor.
public AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )
Table string The table name
Field string The field (column name)
ExpectedResult int /// The expected result. If the result matches this result, /// the criteria is considered met ///
Where string The where statement when running the query

Property Details

ExpectedResult public_oe property

The expected result of the query. If the result of the query matches this, or is greater, then the criteria is considered met.
public int ExpectedResult
Résultat int

Field public_oe property

The field (or columns) to run the query on
public string Field
Résultat string

Table public_oe property

The table to run the qyery
public string Table
Résultat string

Where public_oe property

The where statement to use when running the query
public string Where
Résultat string