Example #1
0
        public IExpressionOperator Get(uint operatorID)
        {
            string attributeKey        = $"{operatorID}";
            IExpressionOperator result = null;
            Dictionary <string, ExpressionOperator> all = GetAllById();

            if (all.ContainsKey(attributeKey))
            {
                result = all[attributeKey];
            }
            return(result);
        }
 public ExpressionOperatorItem(string operatorType)
 {
     this._operator = OperatorFactory.CreateOperator(operatorType);
 }