public void addProperty(CCFE_ConfigurationProperty property)
 {
     if (PropertyList.Exists(x => x.Name.Equals(property.Name)))
     {
         //property already exists
     }
     else
     {
         propertyList.Add(new CCFE_ConfigurationProperty(property.Name, property.Value));
     }
 }
        public void CCFE_ConfigurationPropertyTest()
        {
            //ARRANGE
            string name = "TestProperty";
            string value = "TestValue";

            //ACT
            CCFE_ConfigurationProperty property = new CCFE_ConfigurationProperty(name, value);
            //check deep copy
            value = "AlternateValue";

            //ASSERT
            Assert.IsTrue(property.Name.Equals("TestProperty"));
            Assert.IsTrue(property.Value.Equals("TestValue"));
        }
        private string appendProperty(CCFE_ConfigurationProperty property, List<CCFE_ConfigurationProperty> configurationComments)
        {
            string appendText = "";

            CCFE_ConfigurationProperty comment = configurationComments.Find(x => x.Name.Equals(property.Name));
            appendText = comment.Value + property.Name + "=" + property.Value + "\n";

            return appendText;
        }