PropertyConstraint.

PropertyConstraint(string, IConstraint) Constructor

Summary

Initializes a new instance of the PropertyConstraint class.
Namespace
TCLite.Constraints
Containing Type
PropertyConstraint

Syntax

public PropertyConstraint(string name, IConstraint baseConstraint)

Parameters

Name Type Description
name string The name.
baseConstraint IConstraint The constraint to apply to the property.

Return Value

Type Description
void