src/Inflatable/ClassMapper/BaseClasses/PropertyBase.cs
/// <summary>
/// Sets a constraint on the field if the source allows it.
/// </summary>
/// <param name="constraint">The constraint.</param>
/// <returns>this</returns>
Sets a constraint on the field if the source allows it.
Sets a constraint on the field if the source allows it .
public ReturnType WithConstraint(string constraint)
        {
            Constraints.Add(constraint);
            return (ReturnType)(IProperty<ClassType, DataType, ReturnType>)this;
        }
public ReturnType WithConstraint ( string constraint ) { Constraints . Add ( constraint ) ; return ( ReturnType ) ( IProperty < ClassType , DataType , ReturnType > ) this ; }
Sets a constraint on the field if the source allows it.
Sets a constraint on the field if the source allows it .
None
constraint
string
None