PropertyConstraintResult
Contains the result of matching a PropertyConstraint against an actual value.
namespace NUnit.Framework.Constraints
{
internal sealed class PropertyConstraintResult : ConstraintResult
{
private readonly ConstraintResult _baseResult;
public PropertyConstraintResult(IConstraint constraint, ConstraintResult baseResult)
: base(constraint, baseResult.ActualValue, baseResult.Status)
{
_baseResult = baseResult;
}
public override void WriteAdditionalLinesTo(MessageWriter writer)
{
_baseResult.WriteAdditionalLinesTo(writer);
}
}
}