Esempio n. 1
0
        public MainPageViewModel()
        {
            Instance = this;

            NumberValues = new ObservableCollection<double>(
                Enumerable.Range(0, 40).Select(i => i * 0.25463105308788066303)
            );

            Random rand = new Random();
            NumberValue = NumberValues[rand.Next(NumberValues.Count - 1)];
            BooleanValue = false;
            DateTimeValue = DateTime.UtcNow;
        }
Esempio n. 2
0
 public MainPageViewModel()
 {
     _SpeechService = new Services.SpeechService.SpeechService();
     Instance = this;
 }
Esempio n. 3
0
 public MainPageViewModel()
 {
     _SpeechService = new Services.SpeechService.SpeechService();
     Instance       = this;
 }