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; }
public MainPageViewModel() { _SpeechService = new Services.SpeechService.SpeechService(); Instance = this; }