C# Class Depressurizer.AutoCatUserScore

Inheritance: AutoCat
Mostra file Open project: Theo47/depressurizer Class Usage Examples

Public Properties

Property Type Description
Rules List

Public Methods

Method Description
AutoCatUserScore ( AutoCatUserScore other ) : System
AutoCatUserScore ( string name = TypeIdString, string filter = null, string prefix = null, bool useWilsonScore = false, List rules = null, bool selected = false ) : System
CategorizeGame ( GameInfo game, Depressurizer.Filter filter ) : AutoCatResult
Clone ( ) : AutoCat
GenerateSteamRules ( ICollection rules ) : void

Generates rules that match the Steam Store rating labels

LoadFromXmlElement ( XmlElement xElement ) : AutoCatUserScore
WriteToXml ( System writer ) : void

Private Methods

Method Description
CheckRule ( UserScore_Rule rule, int score, int reviews ) : bool
GetProcessedString ( string s ) : string

Method Details

AutoCatUserScore() public method

public AutoCatUserScore ( AutoCatUserScore other ) : System
other AutoCatUserScore
return System

AutoCatUserScore() public method

public AutoCatUserScore ( string name = TypeIdString, string filter = null, string prefix = null, bool useWilsonScore = false, List rules = null, bool selected = false ) : System
name string
filter string
prefix string
useWilsonScore bool
rules List
selected bool
return System

CategorizeGame() public method

public CategorizeGame ( GameInfo game, Depressurizer.Filter filter ) : AutoCatResult
game GameInfo
filter Depressurizer.Filter
return AutoCatResult

Clone() public method

public Clone ( ) : AutoCat
return AutoCat

GenerateSteamRules() public method

Generates rules that match the Steam Store rating labels
public GenerateSteamRules ( ICollection rules ) : void
rules ICollection List of UserScore_Rule objects to populate with the new ones. Should generally be empty.
return void

LoadFromXmlElement() public static method

public static LoadFromXmlElement ( XmlElement xElement ) : AutoCatUserScore
xElement System.Xml.XmlElement
return AutoCatUserScore

WriteToXml() public method

public WriteToXml ( System writer ) : void
writer System
return void

Property Details

Rules public_oe property

public List Rules
return List