C# Class Refactoring.Tests.TestsHelper

显示文件 Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
CheckJsonStatement ( string statement ) : bool
CheckStatement ( StatementTools statement ) : bool
CheckStringStatement ( string statement ) : bool
CheckUniversalStatement ( string statements ) : bool
GetMoviesWithPrice ( Rental rentals ) : double>.Dictionary
SetCustomerInformation ( string name, double totalAmount, int frequencyPoints ) : void
SetMovieInformation ( double>.Dictionary movies ) : void

Private Methods

Method Description
GetMoviesString ( double>.Dictionary movies ) : string
Replace ( XmlNode statementTemplate, string tag, string value ) : void

Method Details

CheckJsonStatement() public static method

public static CheckJsonStatement ( string statement ) : bool
statement string
return bool

CheckStatement() public static method

public static CheckStatement ( StatementTools statement ) : bool
statement StatementTools
return bool

CheckStringStatement() public static method

public static CheckStringStatement ( string statement ) : bool
statement string
return bool

CheckUniversalStatement() public static method

public static CheckUniversalStatement ( string statements ) : bool
statements string
return bool

GetMoviesWithPrice() public static method

public static GetMoviesWithPrice ( Rental rentals ) : double>.Dictionary
rentals Rental
return double>.Dictionary

SetCustomerInformation() public static method

public static SetCustomerInformation ( string name, double totalAmount, int frequencyPoints ) : void
name string
totalAmount double
frequencyPoints int
return void

SetMovieInformation() public static method

public static SetMovieInformation ( double>.Dictionary movies ) : void
movies double>.Dictionary
return void