RequireWhenAttribute(Type) Constructor
Constructor.
Namespace: MFiles.VAF.Configuration.ValidationAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public RequireWhenAttribute(
params Type[] conditionTypes
)
Parameters
- conditionTypes Type
-
The types of condition that should be used to determine whether the decorated member is required or not.
Each type must implement IConditionalRequirement to work correctly.