RuleRequiredFieldAttribute Constructors
Defines a validation rule that demands that a property has a value.Name | Parameters | Description |
---|---|---|
RuleRequiredFieldAttribute() | none | Initializes a new instance of the RuleRequiredFieldAttribute class. |
RuleRequiredFieldAttribute(DefaultContexts) | targetContexts | Initializes a new instance of the RuleRequiredFieldAttribute class. |
RuleRequiredFieldAttribute(String, DefaultContexts, String) | id, targetContexts, messageTemplate | Initializes a new instance of the RuleRequiredFieldAttribute class. |
RuleRequiredFieldAttribute(String, DefaultContexts) | id, targetContexts | Initializes a new instance of the RuleRequiredFieldAttribute class. |
RuleRequiredFieldAttribute(String, String, String) | id, targetContextIDs, messageTemplate | Initializes a new instance of the RuleRequiredFieldAttribute class. |
RuleRequiredFieldAttribute(String, String) | id, targetContextIDs | Initializes a new instance of the RuleRequiredFieldAttribute class. |
See Also