예제 #1
0
        }         // constructor

        public void Add(string sKey, ParsedValue pv)
        {
            if (pv == null)
            {
                return;
            }

            if (string.IsNullOrWhiteSpace(sKey))
            {
                sKey = "Column" + m_oData.Count.ToString(CultureInfo.InvariantCulture);
            }

            m_oData.Add(pv);
            m_oNames.Add(sKey);
            m_oMap[sKey] = pv;
        }         // Add
예제 #2
0
        }         // operator bool

        private static void ToBoolean(ParsedValue pv, out object v, IFormatProvider provider = null)
        {
            v = pv.ToBoolean(provider);
        }         // ToBoolean
예제 #3
0
        }         // operator Guid?

        private static void ToGuidOrNull(ParsedValue pv, out object v, IFormatProvider provider = null)
        {
            v = pv.ToGuidOrNull(provider);
        }         // ToGuidOrNull
예제 #4
0
        }         // operator string[]

        private static void ToStringArray(ParsedValue pv, out object v, IFormatProvider provider = null)
        {
            v = pv.ToStringArray(provider);
        }         // ToDecimalOrNull
예제 #5
0
        }         // operator int

        private static void ToInt32(ParsedValue pv, out object v, IFormatProvider provider = null)
        {
            v = pv.ToInt32(provider);
        }         // ToUIn32