public void ParmObject()
        {
            var parmObj = new ParmObject("Int", 1);
            Assert.AreEqual("Int", parmObj.ParmName);
            Assert.AreEqual(1, parmObj.ParmObj);

            parmObj = new ParmObject("String", "Testing");
            Assert.AreEqual("String", parmObj.ParmName);
            Assert.AreEqual("Testing", parmObj.ParmObj);

            parmObj = new ParmObject("Decimal", 3.54M);
            Assert.AreEqual("Decimal", parmObj.ParmName);
            Assert.AreEqual(3.54M, parmObj.ParmObj);
        }
        public void ParmListWithObject()
        {
            var parmList = new ParmList();

            var parmObj = new ParmObject("Int", 1);
            parmList.Add(parmObj);
            parmObj = new ParmObject("String", "Testing");
            parmList.Add(parmObj);
            parmObj = new ParmObject("Decimal", 3.54M);
            parmList.Add(parmObj);

            var list = parmList.Items;
            Assert.AreEqual(list[0].ParmName, "Int");
            Assert.AreEqual(list[0].ParmObj, 1);

            Assert.AreEqual(list[1].ParmName, "String");
            Assert.AreEqual(list[1].ParmObj, "Testing");

            Assert.AreEqual(list[2].ParmName, "Decimal");
            Assert.AreEqual(list[2].ParmObj, 3.54M);
        }
 public void Add(ParmObject P_obj)
 {
     m_list.Add(P_obj);
 }