C# Class PowerAssert.Hints.EnumComparisonShowValuesHint

Because enums get erased into ints by the compiler, this helps show what the original values were
Inheritance: IHint
Afficher le fichier Open project: PowerAssert/PowerAssert.Net

Méthodes publiques

Méthode Description
TryGetHint ( ExpressionParser parser, Expression expression, string &hint ) : bool

Private Methods

Méthode Description
Check ( ExpressionParser parser, Expression x, Expression y ) : string>.Tuple
Parse ( ExpressionParser parser, Type enumType, Expression expression ) : string

Method Details

TryGetHint() public méthode

public TryGetHint ( ExpressionParser parser, Expression expression, string &hint ) : bool
parser PowerAssert.Infrastructure.ExpressionParser
expression System.Linq.Expressions.Expression
hint string
Résultat bool