Exemple #1
0
        public void Add(string strName, int nKey, Type type)
        {
            if (!_list.ContainsKey(strName))
            {
                MaskNodeCollection mc = new MaskNodeCollection();
                mc.Add(nKey, type);

                _list.Add(strName, mc);
            }
            else
            {
                _list[strName].Add(nKey, type);
            }
        }
Exemple #2
0
        static public Type Get(string strScheme, int nColumnIndex)
        {
            MaskNodeCollection mc = m_scheme.Get(strScheme);

            return(mc != null?mc.Get(nColumnIndex) : null);
        }