public MinElementsIfAttribute(uint elements, string dependentProperty, Operator @operator, object dependentValue) : base(dependentProperty) { Operator = @operator; DependentValue = dependentValue; Metadata = OperatorMetadata.Get(Operator); MinElements = new MinElementsAttribute(elements); }