Beispiel #1
0
 private void SetProperties(BuildFile bf)
 {
     foreach (DataGridViewRow row in dtProperties.Rows)
     {
         bf.SetPropertyValue(row.Cells["dtColName"].Value.ToString(), row.Cells["dtColValue"].Value.ToString());
     }
 }
Beispiel #2
0
        private void SetProperties(BuildFile bf)
        {
            string[] propSetters = cla["prop"].Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);

            foreach (string propSetter in propSetters)
            {
                bf.SetPropertyValue(propSetter.Split(new char[] { '=' })[0], propSetter.Split(new char[] { '=' })[1]);
            }
        }