コード例 #1
0
ファイル: dl.serializer.cs プロジェクト: jswiatkowski/cognipy
        public object Visit(CogniPy.CNL.DL.DecimalNumber e)
        {
            var sval = e.val.ToString();

            if (attributeName.get() != null)
            {
                dataValues.Add(Tuple.Create(e.getTypeTag(), attributeName.get(), sval));
            }
            if (!foundValues.ContainsKey(e.getTypeTag() + ":" + sval))
            {
                foundValues.Add(e.getTypeTag() + ":" + sval, e);
            }
            return(sval);
        }
コード例 #2
0
 public virtual object Visit(CogniPy.CNL.DL.DecimalNumber e)
 {
     return(e);
 }