Skip to main content
A newer version of this page is available. .

RuleIsReferencedAttribute Constructors

Defines a validation rule demanding that an object should be referenced in objects of a specified type.
Name Parameters Description
RuleIsReferencedAttribute(DefaultContexts, Type, String) targetContexts, looksFor, referencePropertyName Initializes a new instance of the RuleIsReferencedAttribute class.
RuleIsReferencedAttribute(String, DefaultContexts, Type, String, String) id, targetContexts, looksFor, referencePropertyName, messageTemplate Initializes a new instance of the RuleIsReferencedAttribute class.
RuleIsReferencedAttribute(String, DefaultContexts, Type, String) id, targetContexts, looksFor, referencePropertyName Initializes a new instance of the RuleIsReferencedAttribute class.
RuleIsReferencedAttribute(String, String, Type, String, String) id, targetContextIDs, looksFor, referencePropertyName, messageTemplate Initializes a new instance of the RuleIsReferencedAttribute class.
RuleIsReferencedAttribute(String, String, Type, String) id, targetContextIDs, looksFor, referencePropertyName Initializes a new instance of the RuleIsReferencedAttribute class.
RuleIsReferencedAttribute(Type, String) looksFor, referencePropertyName Initializes a new instance of the RuleIsReferencedAttribute class.
See Also