C# Class HtmlRenderer.HtmlReportGenerator

ファイルを表示 Open project: NathanTeeuwen/Dominulator Class Usage Examples

Public Methods

Method Description
CreateHtmlReport ( ) : string
CreateHtmlReport ( IndentedTextWriter textWriter ) : void
GetHtmlReport ( StrategyComparisonResults comparisonResults ) : string
HtmlReportGenerator ( StrategyComparisonResults comparisonResults ) : System

Private Methods

Method Description
InsertCardData ( HtmlRenderer htmlWriter, MapOfCardsForGameSubset map, CardGameSubset gameSubset, PlayerAction player1, PlayerAction player2 ) : void
InsertCardData ( HtmlRenderer htmlWriter, string title, CardGameSubset gameSubset, MapOfCardsForGameSubset statsPerCard, ForwardAndReversePerTurnPlayerCounters turnCounts, int playerIndex, int throughTurn ) : void
InsertHistogram ( HtmlRenderer htmlWriter, string title, string xAxisLabel, HistogramData data, int xAxisMaxValue, bool colllapsebyDefault = true, HtmlContentInserter content = null ) : void
InsertHistogramIntegrated ( HtmlRenderer htmlWriter, string title, string xAxisLabel, HistogramData data, int xAxisMaxValue ) : void
InsertLineGraph ( HtmlRenderer htmlWriter, string title, PlayerAction player1, PlayerAction player2, ForwardAndReversePerTurnPlayerCounters forwardAndReverseCounters, ForwardAndReversePerTurnPlayerCounters turnCounters, int throughTurn, bool colllapsebyDefault = true, HtmlContentInserter content = null ) : void
InsertPieChart ( HtmlRenderer htmlWriter, string title, string labelTitle, string dataTitle, string labels, float data, bool colllapsebyDefault = true ) : void

Method Details

CreateHtmlReport() public method

public CreateHtmlReport ( ) : string
return string

CreateHtmlReport() public method

public CreateHtmlReport ( IndentedTextWriter textWriter ) : void
textWriter Dominion.IndentedTextWriter
return void

GetHtmlReport() public static method

public static GetHtmlReport ( StrategyComparisonResults comparisonResults ) : string
comparisonResults Dominion.Data.StrategyComparisonResults
return string

HtmlReportGenerator() public method

public HtmlReportGenerator ( StrategyComparisonResults comparisonResults ) : System
comparisonResults Dominion.Data.StrategyComparisonResults
return System