Beispiel #1
0
        public override IEnumerable <string> Apply(Dictionary <string, object> entityParameters)
        {
            string entityValue  = base.GetEntityValueAsString(entityParameters);
            string valueToApply = base.GetValuesToApply(entityParameters).ElementAt(0);

            IEnumerable <String> operationResult = new List <String>();

            if (OvalEntityComparer.IsEntityValuesEquals(OperationEnumeration.equals, valueToApply, entityValue))
            {
                ((List <String>)operationResult).Add(entityValue);
            }

            return(operationResult);
        }
Beispiel #2
0
        public override IEnumerable <string> Apply(Dictionary <string, object> entityParameters)
        {
            string entityValue = base.GetEntityValueAsString(entityParameters);
            IEnumerable <string> valuesToApply = base.GetValuesToApply(entityParameters);

            IEnumerable <string> operationResult = new List <String>();

            foreach (var value in valuesToApply)
            {
                if (OvalEntityComparer.IsEntityValuesNotEqual(OperationEnumeration.caseinsensitivenotequal, entityValue, value))
                {
                    ((List <String>)operationResult).Add(value);
                }
            }

            return(operationResult);
        }