Skip to main content
.NET Framework 4.6.2+

RuleFromBoolPropertyAttribute Constructors

Defines a validation rule that demands a true value for the target public non-persistent Boolean property.
Name Parameters Description
RuleFromBoolPropertyAttribute() none Initializes a new instance of the RuleFromBoolPropertyAttribute class.
RuleFromBoolPropertyAttribute(DefaultContexts) targetContexts Initializes a new instance of the RuleFromBoolPropertyAttribute class.
RuleFromBoolPropertyAttribute(String, DefaultContexts, String) id, targetContexts, messageTemplate Initializes a new instance of the RuleFromBoolPropertyAttribute class.
RuleFromBoolPropertyAttribute(String, DefaultContexts) id, targetContexts Initializes a new instance of the RuleFromBoolPropertyAttribute class.
RuleFromBoolPropertyAttribute(String, String, String) id, targetContextIDs, messageTemplate Initializes a new instance of the RuleFromBoolPropertyAttribute class.
RuleFromBoolPropertyAttribute(String, String) id, targetContextIDs Initializes a new instance of the RuleFromBoolPropertyAttribute class.
See Also