Example #1
0
        public PlaygroundsViewModel()
        {
            Playgrounds.Clear();

            foreach (PlaygroundTypes pt in Enum.GetValues(typeof(PlaygroundTypes)))
            {
                Playgrounds.Add(new Playground(pt));
            }
        }
Example #2
0
 public Playground(Playgrounds playgrounds)
 {
     _playgrounds = playgrounds;
 }