public PlaygroundsViewModel() { Playgrounds.Clear(); foreach (PlaygroundTypes pt in Enum.GetValues(typeof(PlaygroundTypes))) { Playgrounds.Add(new Playground(pt)); } }
public Playground(Playgrounds playgrounds) { _playgrounds = playgrounds; }