示例#1
0
 public void AddCompulsoryProperty(string property)
 {
     if (CompulsoryPropertyList == null)
     {
         CompulsoryPropertyList = new List <string>();
     }
     CompulsoryPropertyList.Add(property);
 }
示例#2
0
 public void AddCompulsoryWidgets(IList <string> widgets)
 {
     if (CompulsoryPropertyList == null)
     {
         CompulsoryPropertyList = new List <string>();
     }
     foreach (var widget in widgets)
     {
         CompulsoryPropertyList.Add(widget);
     }
 }