C# Class Shouldly.MessageGenerators.ShouldHaveSingleItemMessageGenerator

Inheritance: Shouldly.MessageGenerators.ShouldlyMessageGenerator
Mostra file Open project: shouldly/shouldly

Public Methods

Method Description
CanProcess ( IShouldlyAssertionContext context ) : bool
GenerateErrorMessage ( IShouldlyAssertionContext context ) : string

Method Details

CanProcess() public method

public CanProcess ( IShouldlyAssertionContext context ) : bool
context IShouldlyAssertionContext
return bool

GenerateErrorMessage() public method

public GenerateErrorMessage ( IShouldlyAssertionContext context ) : string
context IShouldlyAssertionContext
return string