RequireWhenAttribute Class

An attribute that can be used to mark a configuration value as being conditionally required, based on other values within the configuration.

Definition

Namespace: MFiles.VAF.Configuration.Validation
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public class RequireWhenAttribute : Attribute
Inheritance
Object    Attribute    RequireWhenAttribute

Constructors

Properties

ConditionTypes The type that should be used to determine whether the decorated member is required or not.
HideWhenNotRequired Indicates whether the decorated member should be hidden from the property grid when it is not required.

Methods

GetConditions The conditions the member was declared with.

See Also