C# Class Shouldly.MessageGenerators.ShouldHaveSingleItemMessageGenerator

Inheritance: Shouldly.MessageGenerators.ShouldlyMessageGenerator
Afficher le fichier Open project: shouldly/shouldly

Méthodes publiques

Méthode Description
CanProcess ( IShouldlyAssertionContext context ) : bool
GenerateErrorMessage ( IShouldlyAssertionContext context ) : string

Method Details

CanProcess() public méthode

public CanProcess ( IShouldlyAssertionContext context ) : bool
context IShouldlyAssertionContext
Résultat bool

GenerateErrorMessage() public méthode

public GenerateErrorMessage ( IShouldlyAssertionContext context ) : string
context IShouldlyAssertionContext
Résultat string