public ViewLevelViewModel Initialize(List <Group> g, ViewLevel vl = null) { Groups = SelectableGroup.Convert(g); if (vl != null) { theViewlevel = vl; SelectTheViewLevelsGroup(); } return(this); }
public ViewLevelViewModel() { Groups = new List <SelectableGroup>(); theViewlevel = new ViewLevel(); }