PropertyExistsConstraint.

ApplyConstraint<T>(T) Method

Summary

Test whether the property exists for a given object
Namespace
TCLite.Constraints
Containing Type
PropertyExistsConstraint

Syntax

protected override ConstraintResult ApplyConstraint<T>(T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The object to be tested

Return Value

Type Description
ConstraintResult True for success, false for failure