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