public override bool IsCompatibleParameterSet(pct.BizRulez.Rules.Parameters.RuleParameterSet parameterSet)
        {
            RuleStringParameter leftValueFieldName = parameterSet["CollectionFieldName"] as RuleStringParameter;

            if (leftValueFieldName == null || String.IsNullOrEmpty(leftValueFieldName.Value))
            {
                return(false);
            }
            var keyFunctionClass = parameterSet["GetKeyFunctionClass"] as RuleStringParameter;
            var keyFunctionName  = parameterSet["GetKeyFunctionName"] as RuleStringParameter;

            return(!((keyFunctionClass != null && (!String.IsNullOrEmpty(keyFunctionClass.Value))) ^
                     (keyFunctionName != null && (!String.IsNullOrEmpty(keyFunctionName.Value)))));
        }
        public override bool IsCompatibleParameterSet(pct.BizRulez.Rules.Parameters.RuleParameterSet parameterSet)
        {
            RuleStringParameter leftValueFieldName = parameterSet["CollectionFieldName"] as RuleStringParameter;

            if (leftValueFieldName == null || String.IsNullOrEmpty(leftValueFieldName.Value))
            {
                return(false);
            }
            var elementValueParameter = parameterSet["ElementValue"];
            var elementFieldParameter = parameterSet["ElementFieldName"] as RuleStringParameter;

            return((elementValueParameter != null) ^
                   (elementFieldParameter != null && (!String.IsNullOrEmpty(elementFieldParameter.Value))));
        }